Skip to contentSkip to conversation

Patch to comedi_fops.c

PATCH supermine290 2 participants 3 messages Mar 29, 2010 – Apr 17, 2010 Staging

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

From eb3bff4e8052a4075d82f1687e0338dc81d73256 Mon Sep 17 00:00:00 2001

From: Jakob Penzien <jakob@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.

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

b/drivers/staging/comedi/comedi_fops.c
index aca9674..5cb5bc7 100644

drivers/staging/comedi/comedi_fops.c +0 -0
@@ -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)
{

Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 21 lines · On Mon, Mar 29, 2010 at 01:35:15AM -0400, supermine290 wrote:
Quoted 1 line

From eb3bff4e8052a4075d82f1687e0338dc81d73256 Mon Sep 17 00:00:00 2001

From: Jakob Penzien <jakob@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.

---
 drivers/staging/comedi/comedi_fops.c |   38
+++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 19 deletions(-)
drivers/staging/comedi/comedi_fops.c +0 -0
index aca9674..5cb5bc7 100644

drivers/staging/comedi/comedi_fops.c copyback: · line 599

Quoted 2 lines
drivers/staging/comedi/comedi_fops.c +0 -0
@@ -598,19 +598,19 @@ copyback:
 static int parse_insn(struct comedi_device *dev, struct comedi_insn
 *insn,

The patch is line-wrapped, can you please fix this and resend it?

thanks,

greg k-h

#2 lore raw
Quoted 1 line

From eb3bff4e8052a4075d82f1687e0338dc81d73256 Mon Sep 17 00:00:00 2001

From: Jakob Penzien <jakob@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.

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

b/drivers/staging/comedi/comedi_fops.c
index aca9674..5cb5bc7 100644

drivers/staging/comedi/comedi_fops.c +0 -0
@@ -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)
{

Signature · 1 line
1.6.3.3