Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pppoatm: use %*ph to print small buffer

Use %*ph format to print small buffer as hex string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Andy Shevchenko and committed by
David S. Miller
a8a213cb 1e606889

+1 -3
+1 -3
net/atm/pppoatm.c
··· 216 216 pvcc->chan.mtu += LLC_LEN; 217 217 break; 218 218 } 219 - pr_debug("Couldn't autodetect yet (skb: %02X %02X %02X %02X %02X %02X)\n", 220 - skb->data[0], skb->data[1], skb->data[2], 221 - skb->data[3], skb->data[4], skb->data[5]); 219 + pr_debug("Couldn't autodetect yet (skb: %6ph)\n", skb->data); 222 220 goto error; 223 221 case e_vc: 224 222 break;