projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
593f63b
)
hso: fix debug routines
author
Antti Kaijanmäki
<antti.kaijanmaki@nomovok.com>
Mon, 23 Nov 2009 18:54:24 +0000
(10:54 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 Nov 2009 18:54:24 +0000
(10:54 -0800)
Signed-off-by: Antti Kaijanmäki <antti.kaijanmaki@nomovok.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/hso.c
b/drivers/net/usb/hso.c
index fa4e58196c214f3eeea5afb5893625eed58e61ce..746839bb89ffdc1ad997e64aa483d2ed8ca8f254 100644
(file)
--- a/
drivers/net/usb/hso.c
+++ b/
drivers/net/usb/hso.c
@@
-378,7
+378,7
@@
static void dbg_dump(int line_count, const char *func_name, unsigned char *buf,
}
#define DUMP(buf_, len_) \
- dbg_dump(__LINE__, __func__, buf_, len_)
+ dbg_dump(__LINE__, __func__,
(unsigned char *)
buf_, len_)
#define DUMP1(buf_, len_) \
do { \
@@
-1527,7
+1527,7
@@
static void tiocmget_intr_callback(struct urb *urb)
dev_warn(&usb->dev,
"hso received invalid serial state notification\n");
DUMP(serial_state_notification,
- sizeof(
hso_serial_state_notifation))
+ sizeof(
struct hso_serial_state_notification));
} else {
UART_state_bitmap = le16_to_cpu(serial_state_notification->