[Intel-wired-lan] [RFC PATCH 03/10] nfp: Replace nfp_pr_et with ethtool_gsprintf

Simon Horman simon.horman at netronome.com
Thu Mar 11 11:51:15 UTC 2021


On Wed, Mar 10, 2021 at 05:35:32PM -0800, Alexander Duyck wrote:
> From: Alexander Duyck <alexanderduyck at fb.com>
> 
> The nfp_pr_et function is nearly identical to ethtool_gsprintf except for
> the fact that it passes the pointer by value and as a return whereas
> ethtool_gsprintf passes it as a pointer.
> 
> Since they are so close just update nfp to make use of ethtool_gsprintf
> 
> Signed-off-by: Alexander Duyck <alexanderduyck at fb.com>

Reviewed-by: Simon Horman <simon.horman at netronome.com>


More information about the Intel-wired-lan mailing list