diff options
author | Anjali Singhai Jain <anjali.singhai@intel.com> | 2015-04-27 20:57:20 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-07-15 03:26:43 +0200 |
commit | b2a75c5819ec910f430a2ff12fec6cce202899a0 (patch) | |
tree | 86b67552d3c26f165f29b135d4c094005ea04238 /drivers | |
parent | i40e/i40evf: Add support for pre-allocated pages for PD (diff) | |
download | linux-b2a75c5819ec910f430a2ff12fec6cce202899a0.tar.xz linux-b2a75c5819ec910f430a2ff12fec6cce202899a0.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index c7f2a0a74dcf..9ec6fa292b20 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -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; } |