diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-04 20:44:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-05 12:33:28 +0200 |
commit | a8a213cbedaa4ed0f8e324844a41bcfa89635eb2 (patch) | |
tree | 2e825f4dd958310726f7c5fc5d0e657533703ad1 /net/atm | |
parent | 1e6068899c0fda0e996ee6428ea2f320df084bb6 (diff) |
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>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/pppoatm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c index bd3da9af5ef6..45d8e1d5d033 100644 --- a/net/atm/pppoatm.c +++ b/net/atm/pppoatm.c @@ -216,9 +216,7 @@ static void pppoatm_push(struct atm_vcc *atmvcc, struct sk_buff *skb) pvcc->chan.mtu += LLC_LEN; break; } - pr_debug("Couldn't autodetect yet (skb: %02X %02X %02X %02X %02X %02X)\n", - skb->data[0], skb->data[1], skb->data[2], - skb->data[3], skb->data[4], skb->data[5]); + pr_debug("Couldn't autodetect yet (skb: %6ph)\n", skb->data); goto error; case e_vc: break; |