checkpatch.pl reports:

ERROR: space required after that ',' (ctx:VxV)
+               dev_dbg(dev->class_dev,"CRC error in ISO IN stream\n");
                                      ^

ERROR: spaces required around that '=' (ctx:VxW)
+       struct usbduxsigma_private *devpriv= dev->private;
                                           ^
Add the missing spaces to avoid the error.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/comedi/drivers/usbduxsigma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c 
b/drivers/staging/comedi/drivers/usbduxsigma.c
index ee2b0ba..e070477 100644
--- a/drivers/staging/comedi/drivers/usbduxsigma.c
+++ b/drivers/staging/comedi/drivers/usbduxsigma.c
@@ -244,7 +244,7 @@ static void usbduxsigma_ai_urb_complete(struct urb *urb)
                 * we don't copy the data into the transfer buffer
                 * and recycle the last data byte
                 */
-               dev_dbg(dev->class_dev,"CRC error in ISO IN stream\n");
+               dev_dbg(dev->class_dev, "CRC error in ISO IN stream\n");
 
                break;
 
@@ -679,7 +679,7 @@ static int usbduxsigma_ai_inttrig(struct comedi_device *dev,
                                  struct comedi_subdevice *s,
                                  unsigned int trignum)
 {
-       struct usbduxsigma_private *devpriv= dev->private;
+       struct usbduxsigma_private *devpriv = dev->private;
        int ret;
 
        if (trignum != 0)
-- 
1.8.1.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to