misc: Drop PCIE error reporting for Linux 6.6

Drop pcie error reporting call as it is not exported
on Linux 6.6.

---
commit 7ec4b34be4234599cf1241ef807cdb7c3636f6fe
Author: Bjorn Helgaas <bhelgaas@google.com>
Date:   Mon Jul 10 18:21:36 2023 -0500

    PCI/AER: Unexport pci_enable_pcie_error_reporting()

---

Bug 4346767

Change-Id: I0b8f924df1ac74c5f2b4973fb4a4d7f157d2c2cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3008089
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-11-01 06:51:08 +00:00
committed by mobile promotions
parent b8ed894279
commit ecf1a5a7a3
4 changed files with 9 additions and 0 deletions

View File

@@ -749,7 +749,9 @@ static int tvnet_host_probe(struct pci_dev *pdev,
goto free_netdev;
}
#if !defined(NV_DROP_PCIE_ERROR_REPORTING)
pci_enable_pcie_error_reporting(pdev);
#endif
/*
* In CPU memory write case, skb->data buffer is copied to dst in BAR.