parallel-port-convert-port_mutex-to-the-mutex-api-checkpatch-fixes
WARNING: no space between function name and open parenthesis '('
#21: FILE: drivers/char/lp.c:315:
+ if (mutex_lock_interruptible (&lp_table[minor].port_mutex))
WARNING: no space between function name and open parenthesis '('
#30: FILE: drivers/char/lp.c:402:
+ mutex_unlock (&lp_table[minor].port_mutex);
WARNING: no space between function name and open parenthesis '('
#39: FILE: drivers/char/lp.c:424:
+ if (mutex_lock_interruptible (&lp_table[minor].port_mutex))
WARNING: no space between function name and open parenthesis '('
#48: FILE: drivers/char/lp.c:482:
+ mutex_unlock (&lp_table[minor].port_mutex);
WARNING: no space between function name and open parenthesis '('
#57: FILE: drivers/char/lp.c:891:
+ mutex_init (&lp_table[i].port_mutex);
total: 0 errors, 5 warnings, 56 lines checked
Your patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>