staging: comedi: fix coding style issues in comedi_fops.c
PATCH 1/1 staging: comedi: fix coding style issues in comedi_fops.c
This is a patch to fix coding style
warnings found by the checkpatch.pl tool
Signed-off-by Raghavendra Chandra Ganiga <[email protected]>
--- drivers/staging/comedi/comedi_fops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/comedi/comedi_fops.c +4 -2
@@ -1435,13 +1435,15 @@ static int __comedi_get_user_cmd(struct comedi_device *dev, s = &dev->subdevices[cmd->subdev];if (s->type ==COMEDI_SUBD_UNUSED ) { -dev_dbg (dev->class_dev,"%d not valid subdevice\n" , cmd->subdev); +dev_dbg (dev->class_dev,"%d not valid subdevice\n" , + cmd->subdev);return -EIO ; }if (!s->do_cmd || !s->do_cmdtest || !s->async) {dev_dbg (dev->class_dev, -"subdevice %d does not support commands\n" , cmd->subdev); +"subdevice %d does not support commands\n" , + cmd->subdev);return -EIO ; }
Signature · 1 line
1.7.10.4
Quoted 3 lines · Raghavendra Ganiga
This is a patch to fix coding style
warnings found by the checkpatch.pl tool
Someone fixed this already. You should be working against linux-next for this kind of thing.
regards,
dan carpenter
Quoted 19 lines · Raghavendra Ganiga
This is a patch to fix coding style
warnings found by the checkpatch.pl toolSigned-off-by Raghavendra Chandra Ganiga <[email protected]>--- drivers/staging/comedi/comedi_fops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)drivers/staging/comedi/comedi_fops.c +2
-1@@ -1435,13 +1435,15 @@ static int __comedi_get_user_cmd(struct comedi_device *dev, s = &dev->subdevices[cmd->subdev];if (s->type ==COMEDI_SUBD_UNUSED ) { -dev_dbg (dev->class_dev,"%d not valid subdevice\n" , cmd->subdev); +dev_dbg (dev->class_dev,"%d not valid subdevice\n" , + cmd->subdev);
drivers/staging/comedi/comedi_fops.c static int __comedi_get_user_cmd(struct comedi_device *dev, · line 1448
Quoted 10 lines
drivers/staging/comedi/comedi_fops.c +2
-1return -EIO ; }if (!s->do_cmd || !s->do_cmdtest || !s->async) {dev_dbg (dev->class_dev, -"subdevice %d does not support commands\n" , cmd->subdev); +"subdevice %d does not support commands\n" , + cmd->subdev);return -EIO ; }
(I think this is "PATCH v2".)
Reviewed-by Ian Abbott <[email protected]>
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-