1
linux/drivers/staging/comedi
Andrea Gelmini fa93e19dcf Staging: comedi: dt2801.c: Checkpatch cleanup
ERROR: code indent should use tabs where possible
+          0 = [-10,10]$

ERROR: code indent should use tabs where possible
+          0 = [-10,10]$

WARNING: braces {} are not necessary for single statement blocks
+		if (stat & (DT_S_COMPOSITE_ERROR | DT_S_READY)) {
+			return stat;
+		}

WARNING: braces {} are not necessary for single statement blocks
+		if (stat & DT_S_COMPOSITE_ERROR) {
+			return stat;
+		}

WARNING: braces {} are not necessary for single statement blocks
+	if (stat & DT_S_READY) {
+		return 0;
+	}

WARNING: braces {} are not necessary for single statement blocks
+		if (stat & DT_S_COMPOSITE_ERROR) {
+			return stat;
+		}

WARNING: braces {} are not necessary for single statement blocks
+		if (stat & DT_S_READY) {
+			return 0;
+		}

WARNING: braces {} are not necessary for single statement blocks
+	if (!(stat & DT_S_READY)) {
+		printk("dt2801: !ready in dt2801_writecmd(), ignoring\n");
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (!timeout) {
+		printk("dt2801: timeout 1 status=0x%02x\n", stat);
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (!timeout) {
+		printk("dt2801: timeout 2 status=0x%02x\n", stat);
+	}

WARNING: braces {} are not necessary for any arm of this statement
+		if (stat == -ETIME) {
[...]
+		} else {
[...]

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-03 16:43:06 -08:00
..
drivers Staging: comedi: dt2801.c: Checkpatch cleanup 2010-03-03 16:43:06 -08:00
kcomedilib Staging: comedi: Remove references to dead EXPORT_SYMTAB 2009-09-15 12:01:33 -07:00
comedi_compat32.c Staging: Cleanup useless headers 2010-03-03 16:43:05 -08:00
comedi_compat32.h Staging: comedi: remove check for HAVE_COMPAT_IOCTL 2009-12-11 12:23:01 -08:00
comedi_fops.c Staging: comedi: fix brace coding style in comedi_fops.c 2010-03-03 16:42:55 -08:00
comedi_fops.h
comedi_ksyms.c Staging: comedi: Remove references to dead EXPORT_SYMTAB 2009-09-15 12:01:33 -07:00
comedi.h Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK 2009-12-23 11:27:45 -08:00
comedidev.h Staging: comedi: comedidev.h: Fixed checkpatch.pl issues 2009-12-11 12:21:49 -08:00
comedilib.h Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
drivers.c Staging: comedi: drivers.c: checkpatch fix 2009-12-11 12:21:48 -08:00
Kconfig Staging: comedi: fix build on arches that don't want comedi drivers 2009-10-09 13:47:25 -07:00
Makefile
pci_ids.h
proc.c Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
range.c Staging: Comedi: Lindent changes to comdi driver in staging tree 2009-09-15 12:01:33 -07:00
TODO
wrapper.h