diff --git a/[refs] b/[refs] index d3b560e3a494..3f3a70c3291f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b183c19f98f8afee799ee41e062810d6b1c7e123 +refs/heads/master: 1db9e45c340213d3b19d456fbf678406c1334959 diff --git a/trunk/include/linux/usb/serial.h b/trunk/include/linux/usb/serial.h index 86c0b451745d..9e9a0a8991e4 100644 --- a/trunk/include/linux/usb/serial.h +++ b/trunk/include/linux/usb/serial.h @@ -360,15 +360,9 @@ static inline void usb_serial_debug_data(int debug, const char *function, int size, const unsigned char *data) { - int i; - - if (debug) { - dev_printk(KERN_DEBUG, dev, "%s - length = %d, data = ", - function, size); - for (i = 0; i < size; ++i) - printk("%.2x ", data[i]); - printk("\n"); - } + if (debug) + dev_printk(KERN_DEBUG, dev, "%s - length = %d, data = %*ph\n", + function, size, size, data); } /* Use our own dbg macro */