aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorAlexander Duyck <alexanderduyck@fb.com>2021-03-16 17:30:44 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-17 11:42:30 -0700
commitc8d4725e985da50979918f57db137e03cb6c55e8 (patch)
tree223691185fc30fc7d0468d1aa968d988bebdffe7 /drivers/net/ethernet/hisilicon/hns
parentethtool: Add common function for filling out strings (diff)
downloadlinux-dev-c8d4725e985da50979918f57db137e03cb6c55e8.tar.xz
linux-dev-c8d4725e985da50979918f57db137e03cb6c55e8.zip
intel: Update drivers to use ethtool_sprintf
Update the Intel drivers to make use of ethtool_sprintf. The general idea is to reduce code size and overhead by replacing the repeated pattern of string printf statements and ETH_STRING_LEN counter increments. Signed-off-by: Alexander Duyck <alexanderduyck@fb.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns')
0 files changed, 0 insertions, 0 deletions