Commit 4ce1fd61 authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller

be2net: don't use dev_err when AER enabling fails

The driver uses dev_err when enabling of AER fails (e.g. PCIe AER is not
supported). The dev_info is more appropriate to avoid console pollution.

Cc: sathya.perla@emulex.com
Cc: subbu.seetharaman@emulex.com
Cc: ajit.khaparde@emulex.com
Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd77b2eb
...@@ -4232,7 +4232,7 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id) ...@@ -4232,7 +4232,7 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
status = pci_enable_pcie_error_reporting(pdev); status = pci_enable_pcie_error_reporting(pdev);
if (status) if (status)
dev_err(&pdev->dev, "Could not use PCIe error reporting\n"); dev_info(&pdev->dev, "Could not use PCIe error reporting\n");
status = be_ctrl_init(adapter); status = be_ctrl_init(adapter);
if (status) if (status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment