Patch to comedi_fops.c

supermine290 supermine290 at gmail.com
Sat Apr 17 08:23:21 UTC 2010


>From eb3bff4e8052a4075d82f1687e0338dc81d73256 Mon Sep 17 00:00:00 2001
From: Jakob Penzien <jakob at bloodmoon.(none)>
Date: Tue, 23 Mar 2010 12:52:14 -0400
Subject: [PATCH] Staging: comedi: fix space before tab style issue
in comedi_fops.c
 This is a patch to the comedi_fops.c file that fixes up a tab style
warning
 found by the checkpathc.pl tool. This patch was done to 2.6.34 kernel.
 Signed-off-by: Jakob Penzien <supermine290 at gmail.com>

---
 drivers/staging/comedi/comedi_fops.c |   38
+++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/drivers/staging/comedi/comedi_fops.c
b/drivers/staging/comedi/comedi_fops.c
index aca9674..5cb5bc7 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -598,19 +598,19 @@ copyback:
 static int parse_insn(struct comedi_device *dev, struct comedi_insn
*insn,
 		      unsigned int *data, void *file);
 /*
- * 	COMEDI_INSNLIST
- * 	synchronous instructions
+ *     COMEDI_INSNLIST
+ *     synchronous instructions
  *
- * 	arg:
- * 		pointer to sync cmd structure
+ *     arg:
+ *          pointer to sync cmd structure
  *
- * 	reads:
- * 		sync cmd struct at arg
- * 		instruction list
- * 		data (for writes)
+ *     reads:
+ *          sync cmd struct at arg
+ *          instruction list
+ *          data (for writes)
  *
- * 	writes:
- * 		data (for reads)
+ *     writes:
+ *            data (for reads)
  */
 /* arbitrary limits */
 #define MAX_SAMPLES 256
@@ -894,18 +894,18 @@ out:
 }

 /*
- * 	COMEDI_INSN
- * 	synchronous instructions
+ *     COMEDI_INSN
+ *     synchronous instructions
  *
- * 	arg:
- * 		pointer to insn
+ *     arg:
+ *             pointer to insn
  *
- * 	reads:
- * 		struct comedi_insn struct at arg
- * 		data (for writes)
+ *     reads:
+ *             struct comedi_insn struct at arg
+ *             data (for writes)
  *
- * 	writes:
- * 		data (for reads)
+ *     writes:
+ *             data (for reads)
  */
 static int do_insn_ioctl(struct comedi_device *dev, void *arg, void
*file)
 {
-- 
1.6.3.3




More information about the devel mailing list