aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-06-12 23:03:17 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-06-12 23:04:02 +0200
commit4ccc9dfd8e38348d527d3704b87a680ba43756cd (patch)
tree2d72166c60df258cebe6160b5943624dceb8855d /SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
parentd39b424f868921cd22fbfac392912a911c72bcf2 (diff)
downloadkernel-fsync-4ccc9dfd8e38348d527d3704b87a680ba43756cd.tar.gz
kernel-fsync-4ccc9dfd8e38348d527d3704b87a680ba43756cd.zip
kernel 6.9.4
Diffstat (limited to 'SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch')
-rw-r--r--SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch b/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
index 6eac856..d2d4f0b 100644
--- a/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
+++ b/SOURCES/0001-Revert-nvme-pci-drop-redundant-pci_enable_pcie_error.patch
@@ -51,9 +51,9 @@ diff --git a/include/linux/aer.h b/include/linux/aer.h
index 29cc10220..94ce49a5f 100644
--- a/include/linux/aer.h
+++ b/include/linux/aer.h
-@@ -41,9 +41,20 @@ struct aer_capability_regs {
- };
-
+@@ -40,9 +40,20 @@
+ int pcie_read_tlp_log(struct pci_dev *dev, int where, struct pcie_tlp_log *log);
+
#if defined(CONFIG_PCIEAER)
+/* PCIe port driver needs this function to enable AER */
+int pci_enable_pcie_error_reporting(struct pci_dev *dev);