Commit 6990c0b4 authored by Antti Kaijanmki's avatar Antti Kaijanmki Committed by james toy

Signed-off-by: Antti Kaijanmki <antti.kaijanmaki@nomovok.com>

Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 941b637c
...@@ -378,7 +378,7 @@ static void dbg_dump(int line_count, const char *func_name, unsigned char *buf, ...@@ -378,7 +378,7 @@ static void dbg_dump(int line_count, const char *func_name, unsigned char *buf,
} }
#define DUMP(buf_, len_) \ #define DUMP(buf_, len_) \
dbg_dump(__LINE__, __func__, buf_, len_) dbg_dump(__LINE__, __func__, (unsigned char *)buf_, len_)
#define DUMP1(buf_, len_) \ #define DUMP1(buf_, len_) \
do { \ do { \
...@@ -1527,7 +1527,7 @@ static void tiocmget_intr_callback(struct urb *urb) ...@@ -1527,7 +1527,7 @@ static void tiocmget_intr_callback(struct urb *urb)
dev_warn(&usb->dev, dev_warn(&usb->dev,
"hso received invalid serial state notification\n"); "hso received invalid serial state notification\n");
DUMP(serial_state_notification, DUMP(serial_state_notification,
sizeof(hso_serial_state_notifation)) sizeof(struct hso_serial_state_notification));
} else { } else {
UART_state_bitmap = le16_to_cpu(serial_state_notification-> UART_state_bitmap = le16_to_cpu(serial_state_notification->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment