aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorAlexander Duyck <alexanderduyck@fb.com>2021-03-16 17:30:53 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-17 11:42:30 -0700
commit6a143a7cf94730f57544ea14a987dc025364dbb8 (patch)
tree82d86cf9ce2c369c5d6009197d49c56e24dd6ae9 /drivers/net/ethernet/hisilicon/hns
parentintel: Update drivers to use ethtool_sprintf (diff)
downloadlinux-dev-6a143a7cf94730f57544ea14a987dc025364dbb8.tar.xz
linux-dev-6a143a7cf94730f57544ea14a987dc025364dbb8.zip
nfp: Replace nfp_pr_et with ethtool_sprintf
The nfp_pr_et function is nearly identical to ethtool_sprintf except for the fact that it passes the pointer by value and as a return whereas ethtool_sprintf passes it as a pointer. Since they are so close just update nfp to make use of ethtool_sprintf Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Alexander Duyck <alexanderduyck@fb.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