]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
sfc: Remove 'PCIE error reporting unavailable'
authorMartin Habets <mhabets@solarflare.com>
Mon, 8 Jul 2019 11:07:11 +0000 (12:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 19:16:48 +0000 (12:16 -0700)
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>
drivers/net/ethernet/sfc/efx.c

index 53b726bfe945cf029d6b8236e763c9510977f011..ab58b837df473ff9fb82d6ef1908d8690124eb22 100644 (file)
@@ -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);