Skip to content

Commit 40feded

Browse files
mpalczew96anguy11
authored andcommitted
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: 4fb29bd ("i40e: The driver now prints the API version in error message") Signed-off-by: Mateusz Palczewski <[email protected]> Tested-by: Gurucharan G <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 3116f59 commit 40feded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/intel/i40e/i40e_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15475,8 +15475,8 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1547515475

1547615476
if (hw->aq.api_maj_ver == I40E_FW_API_VERSION_MAJOR &&
1547715477
hw->aq.api_min_ver > I40E_FW_MINOR_VERSION(hw))
15478-
dev_info(&pdev->dev,
15479-
"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",
15478+
dev_dbg(&pdev->dev,
15479+
"The driver for the device detected a newer version of the NVM image v%u.%u than v%u.%u.\n",
1548015480
hw->aq.api_maj_ver,
1548115481
hw->aq.api_min_ver,
1548215482
I40E_FW_API_VERSION_MAJOR,

0 commit comments

Comments
 (0)