i40e: Refine an error message to avoid confusion
Change a warning message to indicate what may have really happened when the init_shared_code call fails. Change-ID: I616ace40fed120d0dec86dfc91ab2d7cde466904 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
3bbf0faa90
commit
b2a75c5819
@ -9767,7 +9767,8 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
|
||||
err = i40e_init_shared_code(hw);
|
||||
if (err) {
|
||||
dev_info(&pdev->dev, "init_shared_code failed: %d\n", err);
|
||||
dev_warn(&pdev->dev, "unidentified MAC or BLANK NVM: %d\n",
|
||||
err);
|
||||
goto err_pf_reset;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user