Staging: comedi: comedi_fc: checkpatch.pl fixes
This patch fixes all warnings as issued by checkpatch.pl. Signed-off-by: Klaas van Gend <klaas.van.gend@mvista.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a69fba9e37
commit
d62a01d861
1 changed files with 1 additions and 4 deletions
|
@ -53,7 +53,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd,
|
||||||
|
|
||||||
retval = comedi_buf_write_alloc(async, num_bytes);
|
retval = comedi_buf_write_alloc(async, num_bytes);
|
||||||
if (retval != num_bytes) {
|
if (retval != num_bytes) {
|
||||||
printk("comedi: buffer overrun\n");
|
printk(KERN_WARNING "comedi: buffer overrun\n");
|
||||||
async->events |= COMEDI_CB_OVERFLOW;
|
async->events |= COMEDI_CB_OVERFLOW;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,6 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd,
|
||||||
|
|
||||||
return num_bytes;
|
return num_bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(cfc_write_array_to_buffer);
|
EXPORT_SYMBOL(cfc_write_array_to_buffer);
|
||||||
|
|
||||||
unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,
|
unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,
|
||||||
|
@ -84,7 +83,6 @@ unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,
|
||||||
|
|
||||||
return num_bytes;
|
return num_bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(cfc_read_array_from_buffer);
|
EXPORT_SYMBOL(cfc_read_array_from_buffer);
|
||||||
|
|
||||||
unsigned int cfc_handle_events(struct comedi_device *dev,
|
unsigned int cfc_handle_events(struct comedi_device *dev,
|
||||||
|
@ -102,7 +100,6 @@ unsigned int cfc_handle_events(struct comedi_device *dev,
|
||||||
|
|
||||||
return events;
|
return events;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(cfc_handle_events);
|
EXPORT_SYMBOL(cfc_handle_events);
|
||||||
|
|
||||||
MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
|
MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
|
||||||
|
|
Loading…
Reference in a new issue