kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/28] Staging: comedi: comedi.h: Edit file so cleanpatch.pl has 0 errors and warnings
@ 2010-10-06  1:00 Tracey Dent
  2010-10-06  1:00 ` [PATCH 02/28] Staging: comedi: comedi_compat32.c: Edit file so that checkpatch.pl has 0 errors and w Tracey Dent
                   ` (27 more replies)
  0 siblings, 28 replies; 34+ messages in thread
From: Tracey Dent @ 2010-10-06  1:00 UTC (permalink / raw)
  To: greg, abbotti, fmhess; +Cc: kernel-janitors, linux-kernel, Tracey Dent

Changed lines in the file so that checkpatch.pl wont complain. Fixed every warning/error message such as; WARNING: storage class should be at the beginning of the declaration, WARNING: please, no space for starting a line, and last but not least WARNING: line over 80 characters.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 drivers/staging/comedi/comedi.h |   78 ++++++++++++++++++++-------------------
 1 files changed, 40 insertions(+), 38 deletions(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 6c900e2..680cef8 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -1,23 +1,23 @@
 /*
-    include/comedi.h (installed as /usr/include/comedi.h)
-    header file for comedi
+	include/comedi.h (installed as /usr/include/comedi.h)
+	header file for comedi
 
-    COMEDI - Linux Control and Measurement Device Interface
-    Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org>
+	COMEDI - Linux Control and Measurement Device Interface
+	Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org>
 
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU Lesser General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+	This program is free software; you can redistribute it and/or modify
+	it under the terms of the GNU Lesser General Public License as published
+	by the Free Software Foundation; either version 2 of the License, or
+	(at your option) any later version.
 
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
+	This program is distributed in the hope that it will be useful,
+	but WITHOUT ANY WARRANTY; without even the implied warranty of
+	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+	GNU General Public License for more details.
 
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+	You should have received a copy of the GNU General Public License
+	along with this program; if not, write to the Free Software
+	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
 
@@ -33,9 +33,9 @@
 #define COMEDI_MAJOR 98
 
 /*
-   maximum number of minor devices.  This can be increased, although
-   kernel structures are currently statically allocated, thus you
-   don't want this to be much more than you actually use.
+	maximum number of minor devices.  This can be increased, although
+	kernel structures are currently statically allocated, thus you
+	don't want this to be much more than you actually use.
  */
 #define COMEDI_NDEVICES 16
 
@@ -477,21 +477,21 @@
 /**********************************************************/
 
 /*
-  8254 specific configuration.
+	8254 specific configuration.
 
-  It supports two config commands:
+	It supports two config commands:
 
-  0 ID: INSN_CONFIG_SET_COUNTER_MODE
-  1 8254 Mode
-    I8254_MODE0, I8254_MODE1, ..., I8254_MODE5
-    OR'ed with:
-    I8254_BCD, I8254_BINARY
+	0 ID: INSN_CONFIG_SET_COUNTER_MODE
+	1 8254 Mode
+		I8254_MODE0, I8254_MODE1, ..., I8254_MODE5
+		OR'ed with:
+		I8254_BCD, I8254_BINARY
 
-  0 ID: INSN_CONFIG_8254_READ_STATUS
-  1 <-- Status byte returned here.
-    B7 = Output
-    B6 = NULL Count
-    B5 - B0 Current mode.
+	0 ID: INSN_CONFIG_8254_READ_STATUS
+	1 <-- Status byte returned here.
+		B7 = Output
+		B6 = NULL Count
+		B5 - B0 Current mode.
 
 */
 
@@ -514,7 +514,9 @@
 			return 0x1 + pfi_channel;
 		else
 			return 0xb + pfi_channel;
-	} static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel) {
+	}
+	static inline unsigned NI_USUAL_RTSI_SELECT(unsigned rtsi_channel)
+	{
 		if (rtsi_channel < 7)
 			return 0xb + rtsi_channel;
 		else
@@ -736,8 +738,8 @@ INSN_CONFIG_ARM */
 	}
 
 /* Signals which can be routed to an NI RTSI pin with INSN_CONFIG_SET_ROUTING.
- The numbers assigned are not arbitrary, they correspond to the bits required
- to program the board. */
+The numbers assigned are not arbitrary, they correspond to the bits required
+to program the board. */
 	enum ni_rtsi_routing {
 		NI_RTSI_OUTPUT_ADR_START1 = 0,
 		NI_RTSI_OUTPUT_ADR_START2 = 1,
@@ -793,11 +795,11 @@ INSN_CONFIG_ARM */
 	}
 
 /* Signals which can be routed to output on a NI PFI pin on a 660x board
- with INSN_CONFIG_SET_ROUTING.  The numbers assigned are
- not arbitrary, they correspond to the bits required
- to program the board.  Lines 0 to 7 can only be set to
- NI_660X_PFI_OUTPUT_DIO.  Lines 32 to 39 can only be set to
- NI_660X_PFI_OUTPUT_COUNTER. */
+with INSN_CONFIG_SET_ROUTING.  The numbers assigned are
+not arbitrary, they correspond to the bits required
+to program the board.  Lines 0 to 7 can only be set to
+NI_660X_PFI_OUTPUT_DIO.  Lines 32 to 39 can only be set to
+NI_660X_PFI_OUTPUT_COUNTER. */
 	enum ni_660x_pfi_routing {
 		NI_660X_PFI_OUTPUT_COUNTER = 1,	/* counter */
 		NI_660X_PFI_OUTPUT_DIO = 2,	/* static digital output */
-- 
1.7.3.1.50.g1e633


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

end of thread, other threads:[~2010-10-06 17:54 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06  1:00 [PATCH 01/28] Staging: comedi: comedi.h: Edit file so cleanpatch.pl has 0 errors and warnings Tracey Dent
2010-10-06  1:00 ` [PATCH 02/28] Staging: comedi: comedi_compat32.c: Edit file so that checkpatch.pl has 0 errors and w Tracey Dent
2010-10-06  1:00 ` [PATCH 03/28] Staging: comedi: comedi_compat32.h: " Tracey Dent
2010-10-06  1:00 ` [PATCH 04/28] Staging: comedi: comedidev.h: Edit file so that checkpatch.pl has 0 errors and warning Tracey Dent
2010-10-06  1:00 ` [PATCH 05/28] Staging: comedi: comedi_fops.c: Edit file so that checkpatch.pl has 1 warnings and 0 e Tracey Dent
2010-10-06  1:00 ` [PATCH 06/28] Staging: comedi: comedilib.h: Edit file so that checkpatch.pl has 0 errors and warning Tracey Dent
2010-10-06  1:00 ` [PATCH 07/28] Staging: comedi: drivers.c: Edit file so that checkpatch.pl has 4 warnings and 0 error Tracey Dent
2010-10-06  4:48   ` [PATCH 07/28] Staging: comedi: drivers.c: Edit file so that Dan Carpenter
2010-10-06 17:54   ` [PATCH 07/28] Staging: comedi: drivers.c: Edit file so that checkpatch.pl David Daney
2010-10-06  1:00 ` [PATCH 08/28] Staging: comedi: proc.c: Edit file so that checkpatch.pl has 0 errors and warnings Tracey Dent
2010-10-06  1:00 ` [PATCH 09/28] Staging: comedi: range.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 10/28] Staging: comedi: kcomedilib: kcomedilib_main.c: Edit file so that checkpatch.pl has 0 Tracey Dent
2010-10-06  4:44   ` [PATCH 10/28] Staging: comedi: kcomedilib: kcomedilib_main.c: Dan Carpenter
2010-10-06  1:00 ` [PATCH 11/28] Staging: comedi: drivers: 8253.h: Edit file so that checkpatch.pl has 0 errors and wa Tracey Dent
2010-10-06  1:00 ` [PATCH 12/28] Staging: comedi: drivers: 8255.c: Edit file so that checkpatch.pl has 0 errors and war Tracey Dent
2010-10-06  1:00 ` [PATCH 13/28] Staging: comedi: drivers: 8255.h: " Tracey Dent
2010-10-06  1:00 ` [PATCH 14/28] Staging: comedi: drivers: adl_pci2608.c: Edit file so that checkpatch.pl has 0 errors Tracey Dent
2010-10-06  1:00 ` [PATCH 15/28] Staging: comedi: drivers: adl_pci7230.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 16/28] Staging: comedi: drivers: adl_pci7296.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 17/28] Staging: comedi: drivers: adl_pci7432.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 18/28] Staging: comedi: drivers: adl_pci8164.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 19/28] Staging: comedi: drivers: adl_pci9111.c: Edit file so that checkpatch.pl has 30 warnin Tracey Dent
2010-10-06  4:34   ` [PATCH 19/28] Staging: comedi: drivers: adl_pci9111.c: Edit Dan Carpenter
2010-10-06  1:00 ` [PATCH 20/28] Staging: comedi: drivers: adl_pci9118.c: Edit file so that checkpatch.pl has 0 errors Tracey Dent
2010-10-06  1:00 ` [PATCH 21/28] Staging: comedi: drivers: adq12b.c: Edit file so that checkpatch.pl has 0 errors and 2 Tracey Dent
2010-10-06  1:00 ` [PATCH 22/28] Staging: comedi: drivers: adv_pci1710.c: Edit file so that checkpatch.pl complains a l Tracey Dent
2010-10-06  1:00 ` [PATCH 23/28] Staging: comedi: drivers: adv_pci1723.c: Edit file so that checkpatch.pl has 0 warning Tracey Dent
2010-10-06  1:00 ` [PATCH 24/28] Staging: comedi: drivers: adv_pci_dio.c: Edit file so that checkpatch.pl has 3 warning Tracey Dent
2010-10-06  1:00 ` [PATCH 25/28] Staging: comedi: drivers: aio_aio12_8.c: Edit file so that checkpatch.pl has 0 errors Tracey Dent
2010-10-06  1:00 ` [PATCH 26/28] Staging: comedi: drivers: aio_iiro_16.c: " Tracey Dent
2010-10-06  1:00 ` [PATCH 27/28] Staging: comedi: drivers: am9513.h: Edit file so that checkpatch.pl has 0 errors and w Tracey Dent
2010-10-06  1:00 ` [PATCH 28/28] Staging: comedi: drivers: amcc_s5933.h: Edit file so that checkpatch.pl has 2 warning Tracey Dent
2010-10-06  1:50 ` [PATCH 01/28] Staging: comedi: comedi.h: Edit file so Greg KH
2010-10-06  2:01   ` T Dent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).