i40e: Fix dump output from debugfs calls
authorNeerav Parikh <Neerav.Parikh@intel.com>
Tue, 26 Nov 2013 10:49:25 +0000 (10:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Dec 2013 01:18:15 +0000 (17:18 -0800)
commit3753cb240b13c29b706400bebf7cb941838593b6
tree49ad921da63474cb894f3ac43f9e471921b76834
parent02d5cb5bb20b9d34db20860aad1891cd9b8e81d5
i40e: Fix dump output from debugfs calls

The debugfs commands that dump hex information are not doing these as
expected viz. "lldp get local", "nvm read", "dump debug fwdata", etc.

Use print_hex_dump() instead to hex dump and remove the print buffer
stuff from the code.

Change-Id: I507bd8b2187aae8bad5055b7872978c309cf143e
Signed-off-by: Neerav Parikh <Neerav.Parikh@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_debugfs.c