All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/usb/core: devio.c: Reverted previous debug print changes
@ 2015-04-12  0:36 Chase Metzger
  0 siblings, 0 replies; only message in thread
From: Chase Metzger @ 2015-04-12  0:36 UTC (permalink / raw)
  To: gregkh; +Cc: stern, joe, linux-kernel, linux-usb, Chase Metzger

Changed dev_dbg(...) back to dev_printk(KERN_DEBUG, ...) based on previous patches feedback.

Signed-off-by: Chase Metzger <chasemetzger15@gmail.com>
---
 drivers/usb/core/devio.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 62c0be6..2734a14 100644
--- a/drivers/usb/core/devio.c
+++ b/drivers/usb/core/devio.c
@@ -1040,7 +1040,7 @@ static int proc_control(struct usb_dev_state *ps, void __user *arg)
 		snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, NULL, 0);
 	}
 	if (i < 0 && i != -EPIPE) {
-		dev_dbg(&dev->dev, "usbfs: USBDEVFS_CONTROL "
+		dev_printk(KERN_DEBUG, &dev->dev, "usbfs: USBDEVFS_CONTROL "
 			   "failed cmd %s rqt %u rq %u len %u ret %d\n",
 			   current->comm, ctrl.bRequestType, ctrl.bRequest,
 			   ctrl.wLength, i);
@@ -1591,7 +1591,8 @@ static int proc_do_submiturb(struct usb_dev_state *ps, struct usbdevfs_urb *uurb
 	}
 
 	if (ret) {
-		dev_dbg(&ps->dev->dev, "usbfs: usb_submit_urb returned %d\n", ret);
+		dev_printk(KERN_DEBUG, &ps->dev->dev,
+				"usbfs: usb_submit_urb returned %d\n", ret);
 		snoop_urb(ps->dev, as->userurb, as->urb->pipe,
 				0, ret, COMPLETE, NULL, 0);
 		async_removepending(as);
-- 
1.9.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-12  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12  0:36 [PATCH] drivers/usb/core: devio.c: Reverted previous debug print changes Chase Metzger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.