Skip to content

Commit

Permalink
hso: fix debug routines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Kaijanmäki authored and David S. Miller committed Nov 23, 2009
1 parent 593f63b commit 9ce673d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 { \
Expand Down Expand Up @@ -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->
Expand Down

0 comments on commit 9ce673d

Please sign in to comment.