Commit b625520f authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: comedi_fc: remove unnecessary prefix in dev_warn() message

The dev_warn() will automatically have the "comedi" prefix.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 658ebb8c
...@@ -47,7 +47,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s, ...@@ -47,7 +47,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s,
retval = comedi_buf_write_alloc(async, num_bytes); retval = comedi_buf_write_alloc(async, num_bytes);
if (retval != num_bytes) { if (retval != num_bytes) {
dev_warn(s->device->class_dev, "comedi: buffer overrun\n"); dev_warn(s->device->class_dev, "buffer overrun\n");
async->events |= COMEDI_CB_OVERFLOW; async->events |= COMEDI_CB_OVERFLOW;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment