From: Ivan Vecera Date: Thu, 25 Jul 2013 14:10:55 +0000 (+0200) Subject: be2net: don't use dev_err when AER enabling fails X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ce1fd6110e1fb1747194d830a3f85952ad06172;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Ivan Vecera Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 67deb210d37d..3df15033b91a 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -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)