Staging: comedi: usbduxfast: fix run-time error
If debugging is enabled, this printk will oops, fix that issue. From: Bernd Porr <BerndPorr@f2s.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
979200719d
commit
d52a63bf6a
@ -498,8 +498,7 @@ static int usbduxfastsub_upload(struct usbduxfastsub_s *udfs,
|
||||
int ret;
|
||||
|
||||
#ifdef CONFIG_COMEDI_DEBUG
|
||||
printk(KERN_DEBUG "comedi%d: usbduxfast: uploading %d bytes",
|
||||
udfs->comedidev->minor, len);
|
||||
printk(KERN_DEBUG "comedi: usbduxfast: uploading %d bytes", len);
|
||||
printk(KERN_DEBUG " to addr %d, first byte=%d.\n",
|
||||
startAddr, local_transfer_buffer[0]);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user