net/ipv4/arp.c: Use common hex_asc helpers
authorDenis Cheng <crquan@gmail.com>
Thu, 22 May 2008 00:34:32 +0000 (17:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2008 00:34:32 +0000 (17:34 -0700)
commit51f82a2b128131c411880aed2cb802b166fe3445
treefe5012bc03369ef2247c148720344a834a226b2f
parentb1443e2f6501f06930a162ff1ff08382a98bf23e
net/ipv4/arp.c: Use common hex_asc helpers

Here the local hexbuf is a duplicate of global const char hex_asc from
lib/hexdump.c, except the hex letters' cases:

const char hexbuf[] = "0123456789ABCDEF";

const char hex_asc[] = "0123456789abcdef";

and here to print HW addresses, the hex cases are not significant.

Thanks to Harvey Harrison to introduce the hex_asc_hi/hex_asc_lo helpers.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c