Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326009
b: refs/heads/master
c: 1db9e45
h: refs/heads/master
i:
  326007: 47f04c2
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 13, 2012
1 parent a346b84 commit c78cc6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b183c19f98f8afee799ee41e062810d6b1c7e123
refs/heads/master: 1db9e45c340213d3b19d456fbf678406c1334959
12 changes: 3 additions & 9 deletions trunk/include/linux/usb/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit c78cc6b

Please sign in to comment.