* USB: correct dbg() arguments in pl2303
@ 2004-07-27 18:42 Pete Zaitcev
0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2004-07-27 18:42 UTC (permalink / raw)
To: marcelo.tosatti; +Cc: zaitcev, linux-kernel
Patch by Phil Dibowitz.
diff -urp -X dontdiff linux-2.4.27-rc3/drivers/usb/serial/pl2303.c linux-2.4.27-rc3-usbx/drivers/usb/serial/pl2303.c
--- linux-2.4.27-rc3/drivers/usb/serial/pl2303.c 2004-07-25 23:00:17.000000000 -0700
+++ linux-2.4.27-rc3-usbx/drivers/usb/serial/pl2303.c 2004-07-27 11:07:39.000000000 -0700
@@ -652,7 +652,7 @@ static void pl2303_break_ctl (struct usb
state = BREAK_OFF;
else
state = BREAK_ON;
- dbg("%s - turning break %s", state==BREAK_OFF ? "off" : "on", __FUNCTION__);
+ dbg("%s - turning break %s", __FUNCTION__, state==BREAK_OFF ? "off" : "on");
result = usb_control_msg (serial->dev, usb_sndctrlpipe (serial->dev, 0),
BREAK_REQUEST, BREAK_REQUEST_TYPE, state,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-27 18:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27 18:42 USB: correct dbg() arguments in pl2303 Pete Zaitcev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®