aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Kaijanmäki <antti.kaijanmaki@nomovok.com>2009-11-23 13:54:24 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-23 13:54:24 -0500
commit9ce673d5e919966efc1ef5adf20248e6ecc62724 (patch)
tree3ca2131d36a9b381e691dba0b30c6c490a9c8881 /drivers
parent593f63b0be70762bd4354bde147b8e169c5a2f57 (diff)
hso: fix debug routines
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/hso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index fa4e58196c21..746839bb89ff 100644
--- 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,
378} 378}
379 379
380#define DUMP(buf_, len_) \ 380#define DUMP(buf_, len_) \
381 dbg_dump(__LINE__, __func__, buf_, len_) 381 dbg_dump(__LINE__, __func__, (unsigned char *)buf_, len_)
382 382
383#define DUMP1(buf_, len_) \ 383#define DUMP1(buf_, len_) \
384 do { \ 384 do { \
@@ -1527,7 +1527,7 @@ static void tiocmget_intr_callback(struct urb *urb)
1527 dev_warn(&usb->dev, 1527 dev_warn(&usb->dev,
1528 "hso received invalid serial state notification\n"); 1528 "hso received invalid serial state notification\n");
1529 DUMP(serial_state_notification, 1529 DUMP(serial_state_notification,
1530 sizeof(hso_serial_state_notifation)) 1530 sizeof(struct hso_serial_state_notification));
1531 } else { 1531 } else {
1532 1532
1533 UART_state_bitmap = le16_to_cpu(serial_state_notification-> 1533 UART_state_bitmap = le16_to_cpu(serial_state_notification->