[RFC PATCH 03/10] nfp: Replace nfp_pr_et with ethtool_gsprintf

2021-03-10 Thread Alexander Duyck
From: Alexander Duyck 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: Al

Re: [RFC PATCH 03/10] nfp: Replace nfp_pr_et with ethtool_gsprintf

2021-03-11 Thread Simon Horman
On Wed, Mar 10, 2021 at 05:35:32PM -0800, Alexander Duyck wrote: > From: Alexander Duyck > > 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