]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix for displaying message regarding NVM version
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Thu, 9 Dec 2021 10:04:35 +0000 (11:04 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 4 Jan 2022 22:10:48 +0000 (14:10 -0800)
commite8fcf4df46049c4a92409f9bcdf4ae1902ed1b75
tree1762967eb9cda64d58083545ed13f3cbe97baaa6
parentf87928d7f6005c92a24661c17714922fb06b7303
i40e: Fix for displaying message regarding NVM version

When loading the i40e driver, it prints a message like: 'The driver for the
device detected a newer version of the NVM image v1.x than expected v1.y.
Please install the most recent version of the network driver.' This is
misleading as the driver is working as expected.

Fix that by removing the second part of message and changing it from
dev_info to dev_dbg.

Fixes: 8b0ab96cab2d ("i40e: The driver now prints the API version in error message")
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c