All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h
@ 2015-12-10 14:57 Moritz König
  2015-12-10 14:57 ` [PATCH 1/2] staging: COMEDI: Fixed the format of comments Moritz König
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Moritz König @ 2015-12-10 14:57 UTC (permalink / raw)
  To: Ian Abbott, H Hartley Sweeten, Greg Kroah-Hartman, Colin Cronin,
	Moritz König, devel, linux-kernel
  Cc: Fabian Lang, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-11 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-10 14:57 [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h Moritz König
2015-12-10 14:57 ` [PATCH 1/2] staging: COMEDI: Fixed the format of comments Moritz König
2015-12-10 14:57 ` [PATCH 2/2] staging: COMEDI: Added missing spaces at binary operators Moritz König
2015-12-10 20:22   ` Joe Perches
2015-12-11 10:01 ` [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h Ian Abbott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.