Skip to content

Commit

Permalink
be2net: don't use dev_err when AER enabling fails
Browse files Browse the repository at this point in the history
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: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ivan Vecera authored and David S. Miller committed Jul 30, 2013
1 parent cd77b2e commit 4ce1fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
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);
if (status)
Expand Down

0 comments on commit 4ce1fd6

Please sign in to comment.