From 623c2bb2c59a6941c68e5d47d13e417f63535043 Mon Sep 17 00:00:00 2001 From: Devendra Naga Date: Sun, 26 Aug 2012 11:12:33 +0530 Subject: [PATCH] staging: serqt_usb2: fix dbg print when kzalloc failed to allocate qt_port the port was kzalloced but the print statement says that its kmalloc. Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- drivers/staging/serqt_usb2/serqt_usb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 1b26023b7928..c56609c6094b 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -704,7 +704,7 @@ static int qt_startup(struct usb_serial *serial) port = serial->port[i]; qt_port = kzalloc(sizeof(*qt_port), GFP_KERNEL); if (!qt_port) { - dbg("%s: kmalloc for quatech_port (%d) failed!.", + dbg("%s: kzalloc for quatech_port (%d) failed!.", __func__, i); for (--i; i >= 0; i--) { port = serial->port[i];