Skip to content

Commit

Permalink
sfc: Remove 'PCIE error reporting unavailable'
Browse files Browse the repository at this point in the history
This is only at notice level but it was pointed out that no other driver
does this.
Also there is no action the user can take as it is really a property of
the server.

Signed-off-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
habetsm-xilinx authored and davem330 committed Jul 8, 2019
1 parent 47cfb90 commit 05cfee9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/net/ethernet/sfc/efx.c
Expand Up @@ -3614,11 +3614,7 @@ static int efx_pci_probe(struct pci_dev *pci_dev,
netif_warn(efx, probe, efx->net_dev,
"failed to create MTDs (%d)\n", rc);

rc = pci_enable_pcie_error_reporting(pci_dev);
if (rc && rc != -EINVAL)
netif_notice(efx, probe, efx->net_dev,
"PCIE error reporting unavailable (%d).\n",
rc);
(void)pci_enable_pcie_error_reporting(pci_dev);

if (efx->type->udp_tnl_push_ports)
efx->type->udp_tnl_push_ports(efx);
Expand Down

0 comments on commit 05cfee9

Please sign in to comment.