[Intel-wired-lan] [PATCH S37 08/15] ice: fix and consolidate logging of NVM/firmware version information
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Jan 24 23:17:09 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, January 22, 2020 7:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S37 08/15] ice: fix and consolidate logging
> of NVM/firmware version information
>
> From: Bruce Allan <bruce.w.allan at intel.com>
>
> Logging the firmware/NVM information during driver load is redundant since
> that information is also available via ethtool. Move the functionality found in
> ice_nvm_version_str() directly into ice_get_drvinfo() and remove calling the
> former and logging that info during driver probe. This also gets rid of a bug in
> ice_nvm_version_str() where it returns a pointer to a buffer which is free'ed
> when that function exits.
>
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 15 +++++++++++++--
> drivers/net/ethernet/intel/ice/ice_lib.c | 19 -------------------
> drivers/net/ethernet/intel/ice/ice_lib.h | 2 --
> drivers/net/ethernet/intel/ice/ice_main.c | 5 -----
> 4 files changed, 13 insertions(+), 28 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list