From: Bernd Porr Date: Wed, 11 Mar 2009 21:17:37 +0000 (-0700) Subject: Staging: comedi: usbduxfast: fix run-time error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d52a63bf6a298c4ffca6a5735926a585f3dd69e0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: comedi: usbduxfast: fix run-time error If debugging is enabled, this printk will oops, fix that issue. From: Bernd Porr Cc: Ian Abbott Cc: Frank Mori Hess Cc: David Schleef Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index b1a7cbec731d..2c888d1f3afc 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -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