]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: remove custom implementation of print_hex_dump()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Nov 2014 14:53:12 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2014 17:20:43 +0000 (12:20 -0500)
commit1a33dca3f354d43edb38750351cc1646f3af4b76
tree57053dedac0c9108b2c16a34ae873b74da75017a
parent64ff7d8eee8f2a626e416c3a2962812d94c205e3
stmmac: remove custom implementation of print_hex_dump()

There is a kernel helper to dump buffers in a hexdecimal format. This patch
substitutes the open coded function by calling that helper.

The output is slightly changed:
 - no lead space
 - ASCII part will be printed along with the dump
 - offset is longer than 3 characters (now 8)

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c