i40e: Fix for displaying message regarding NVM version
Subsystems (2)
PATCH v5 1/1 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_dgb.
---
v5: Fixed wrong formatting
v4: Removed the word "expected' as this might have been misleading
v3: Changed the patch after community review
v2: Fixed the fixes tag to be 12 digits long
--- drivers/net/ethernet/intel/i40e/i40e_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/i40e/i40e_main.c +2 -2
@@ -15469,8 +15469,8 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (hw->aq.api_maj_ver ==I40E_FW_API_VERSION_MAJOR && hw->aq.api_min_ver >I40E_FW_MINOR_VERSION (hw)) - dev_info(&pdev->dev, - "The driver for the device detected a newer version of the NVM image v%u.%u than expected v%u.%u. Please install the most recent version of the network driver.\n", + dev_dbg(&pdev->dev, + "The driver for the device detected a newer version of the NVM image v%u.%u than v%u.%u.\n", hw->aq.api_maj_ver, hw->aq.api_min_ver, I40E_FW_API_VERSION_MAJOR,
Signature · 1 line
2.27.0
G
PATCH v5 1/1 i40e: Fix for displaying message regarding NVM version
Quoted 22 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Mateusz Palczewski
Sent: Thursday, December 9, 2021 3:35 PM
To: intel-wired-lan at lists.osuosl.org
Cc: Palczewski, Mateusz <[email protected]>
Subject: [Intel-wired-lan] [PATCH net v5] i40e: Fix for displaying message regarding NVM versionWhen 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_infotodev_dgb.Fixes 4fb29bddb ("i40e: The driver now prints the API version in errormessage")
Signed-off-by Mateusz Palczewski <[email protected]>
Quoted 9 lines
---
v5: Fixed wrong formatting
v4: Removed the word "expected' as this might have been misleading
v3: Changed the patch after community review
v2: Fixed the fixes tag to be 12 digits long--- drivers/net/ethernet/intel/i40e/i40e_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)