Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1288557

[PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h

From Moritz König <moritz.koenig@fau.de>
Newsgroups linux.kernel
Subject [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h
Date 2015-12-10 16:10 +0100
Message-ID <qEb10-7RF-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset fixes all the warnings and legitimate checks of
checkpatch.pl in comedi.h. 

The following warnings were fixed:
 * WARNING: Block comments use * on subsequent lines
 * WARNING: Block comments use a trailing */ on a separate line
The following checks were fixed:
 * CHECK: spaces preferred around that '<<' (ctx:VxV)
 * CHECK: spaces preferred around that '>>' (ctx:VxV)
 * CHECK: spaces preferred around that '|' (ctx:VxV)

The following checks are not legitimate here and were not fixed:
 * CHECK: spaces preferred around that '&' (ctx:VxV)
	This '&' is not a binary operator, but a referencing.
 * CHECK: Prefer using the BIT macro
	The author defined a BIT macro here.
 * CHECK: Avoid CamelCase: <UNIT_mA>
	This refers to the unit 'milli ampere'.

Moritz König (2):
  staging: COMEDI: Fixed the format of comments
  staging: COMEDI: Added missing spaces at binary operators

 drivers/staging/comedi/comedi.h | 232 +++++++++++++++++++++++-----------------
 1 file changed, 131 insertions(+), 101 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h Moritz König <moritz.koenig@fau.de> - 2015-12-10 16:10 +0100
  [PATCH 1/2] staging: COMEDI: Fixed the format of comments Moritz König <moritz.koenig@fau.de> - 2015-12-10 16:10 +0100
  Re: [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h Ian Abbott <abbotti@mev.co.uk> - 2015-12-11 11:10 +0100

csiph-web