More cleaning up of checkpatch.pl issues:
WARNING: Missing a blank line after declarations
WARNING: Possible switch case/default not preceeded by break or fallthrough
comment
WARNING: space prohibited between function name and open parenthesis '('
WARNING: Use of volatile is usually wrong: ...
WARNING: please, no space before tabs
ERROR: Macros with complex values should be enclosed in parenthesis
WARNING: Prefer kmalloc_array over kmalloc with multiply
ERROR: "(foo*)" should be "(foo *)"
ERROR: trailing whitespace
WARNING: space prohibited before semicolon
WARNING: braces {} are not necessary for single statement blocks
WARNING: braces {} are not necessary for any arm of this statement
WARNING: Unnecessary space before function pointer arguments
H Hartley Sweeten (16):
staging: comedi: adv_pci_dio: checkpatch.pl cleanup (missing blank line)
staging: comedi: adv_pci_dio: checkpatch.pl cleanup (fallthrough)
staging: comedi: amcc_s5933.h: checkpatch.pl cleanup (space prohibited)
staging: comedi: cb_pcidas64: remove 'volatile' from private data
staging: comedi: cb_pcidas64: remove 'volatile' from set_dac_range_bits()
param
staging: comedi: daqboard2000: checkpatch.pl cleanup (space before tab)
staging: comedi: das16m1: remove 'volatile' from private data
staging: comedi: das1800: remove 'volatile' from private data
staging: comedi: me4000: checkpatch.pl cleanup (complex macro)
staging: comedi: serial2000: checkpatch.pl cleanup (kmalloc_array)
staging: comedi: pcl724: checkpatch.pl cleanup (foo*/foo *)
staging: comedi: ni_660x: checkpatch.pl cleanup (trailing whitespace)
staging: comedi: ni_660x: checkpatch.pl cleanup (space prohibited)
staging: comedi: ni_mio_common: checkpatch.pl cleanup (braces not necessary)
staging: comedi: ni_tio: checkpatch.pl cleanup (braces not necessary)
staging: comedi: ni_labpc.h: checkpatch.pl cleanup (unnecessary space)
drivers/staging/comedi/drivers/adv_pci_dio.c | 5 ++--
drivers/staging/comedi/drivers/amcc_s5933.h | 2 +-
drivers/staging/comedi/drivers/cb_pcidas64.c | 34 +++++++++++++-------------
drivers/staging/comedi/drivers/daqboard2000.c | 8 +++---
drivers/staging/comedi/drivers/das16m1.c | 2 +-
drivers/staging/comedi/drivers/das1800.c | 4 +--
drivers/staging/comedi/drivers/me4000.c | 1 -
drivers/staging/comedi/drivers/ni_660x.c | 7 +++---
drivers/staging/comedi/drivers/ni_labpc.h | 4 +--
drivers/staging/comedi/drivers/ni_mio_common.c | 8 +++---
drivers/staging/comedi/drivers/ni_tio.c | 6 ++---
drivers/staging/comedi/drivers/pcl730.c | 2 +-
drivers/staging/comedi/drivers/serial2002.c | 8 +++---
13 files changed, 43 insertions(+), 48 deletions(-)
--
1.9.3
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel