[PATCH v3 0/8] staging: comedi: Fix checkpatch warning

Anson Jacob ansonjacob.aj at gmail.com
Fri Aug 26 23:11:37 UTC 2016


Fix checkpath.pl warning:
line over 80 characters
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line
Statements should start on a tabstop
Comparisons should place the constant on the right side of the test

Changes in V2:
Remove extra space after /*
Align single line comment
Block comments starts with /* followed by comments on the next line

Changes in V3:
Fix trailing space
Fix checkpatch.pl warning for blank line after enum declaration                                                     
Move macro definition to the top of the file                                    
Align macro definitions 

Anson Jacob (8):
  staging: comedi: cb_pcidas64.c: Fix checkpatch warning
  staging: comedi: cb_pcidas64: Fix commenting style
  staging: comedi: jr3_pci.h: Fix checkpatch warning
  staging: comedi: ni_atmio.c: Fix checkpatch warning
  staging: comedi: s626.h: Fix checkpatch warning
  staging: comedi: jr3_pci.c: Fix checkpatch warning
  staging: comedi: ni_at_a2150: Fix checkpatch warning
  staging: comedi: cb_pcidas64: Fix checkpath warning

 drivers/staging/comedi/drivers/cb_pcidas64.c | 573 ++++++++++++++-------------
 drivers/staging/comedi/drivers/jr3_pci.c     |  13 +-
 drivers/staging/comedi/drivers/jr3_pci.h     | 290 ++++++++------
 drivers/staging/comedi/drivers/ni_at_a2150.c | 170 ++++----
 drivers/staging/comedi/drivers/ni_atmio.c    |  11 +-
 drivers/staging/comedi/drivers/s626.h        |   4 +-
 6 files changed, 562 insertions(+), 499 deletions(-)

-- 
2.7.4



More information about the devel mailing list