From 31bcfe49903221669e7bfd02e5240b3379b810c8 Mon Sep 17 00:00:00 2001 From: Zheng Zengkai Date: Sat, 11 Sep 2021 12:15:04 +0800 Subject: [PATCH] kabi: Fix "PCI: Decode PCIe 32 GT/s link speed" hulk inclusion category: Bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V CVE: NA ------------------------------------------------- Fix kabi broken introduced by the following commit: "PCI: Decode PCIe 32 GT/s link speed". Signed-off-by: Zheng Zengkai Reviewed-by: Xie XiuQi Signed-off-by: Yang Yingliang --- include/linux/pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci.h b/include/linux/pci.h index e3c478b6eb78..def71add9f86 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -259,7 +259,9 @@ enum pci_bus_speed { PCIE_SPEED_5_0GT = 0x15, PCIE_SPEED_8_0GT = 0x16, PCIE_SPEED_16_0GT = 0x17, +#ifndef __GENKSYMS__ PCIE_SPEED_32_0GT = 0x18, +#endif PCI_SPEED_UNKNOWN = 0xff, }; -- GitLab