linux/drivers/pci/hotplug
Thomas Weißschuh d5bdde0b38 PCI/ACPI: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.

Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pci-v1-4-c32360f495a7@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-12-10 13:00:50 -06:00
..
Kconfig PCI: hotplug: Add OCTEON PCI hotplug controller driver 2024-11-13 17:51:39 -06:00
Makefile PCI: hotplug: Add OCTEON PCI hotplug controller driver 2024-11-13 17:51:39 -06:00
TODO PCI: shpchp: Remove hpc_ops 2024-08-02 11:39:59 -05:00
acpi_pcihp.c
acpiphp.h
acpiphp_ampere_altra.c PCI: acpiphp_ampere_altra: Switch back to struct platform_driver::remove() 2024-10-03 16:45:55 -05:00
acpiphp_core.c
acpiphp_glue.c
acpiphp_ibm.c PCI/ACPI: Constify 'struct bin_attribute' 2024-12-10 13:00:50 -06:00
cpci_hotplug.h PCI: cpcihp: Remove unused struct cpci_hp_controller_ops.hardware_test 2024-10-18 18:31:52 -05:00
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp.h
cpqphp_core.c PCI: Fix typos 2024-09-19 14:24:00 -05:00
cpqphp_ctrl.c
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c PCI: cpqphp: Simplify PCI_ScanBusForNonBridge() 2024-10-22 10:06:59 -05:00
cpqphp_sysfs.c PCI: cpqphp: Remove unused struct ctrl_dbg.ctrl 2024-10-18 18:31:52 -05:00
ibmphp.h
ibmphp_core.c
ibmphp_ebda.c
ibmphp_hpc.c
ibmphp_pci.c
ibmphp_res.c
octep_hp.c PCI: hotplug: Add OCTEON PCI hotplug controller driver 2024-11-13 17:51:39 -06:00
pci_hotplug_core.c PCI: hotplug: Remove "Returns" kerneldoc from void functions 2024-09-30 12:02:53 -05:00
pciehp.h PCI: pciehp: Detect device replacement during system sleep 2024-05-30 12:17:34 -05:00
pciehp_core.c PCI: pciehp: Detect device replacement during system sleep 2024-05-30 12:17:34 -05:00
pciehp_ctrl.c PCI/bwctrl: Re-add BW notification portdrv as PCIe BW controller 2024-11-16 10:09:04 -06:00
pciehp_hpc.c PCI: Refactor pcie_update_link_speed() 2024-11-11 14:20:04 -06:00
pciehp_pci.c PCI: pciehp: Detect device replacement during system sleep 2024-05-30 12:17:34 -05:00
pnv_php.c pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv 2024-07-04 23:10:40 +10:00
rpadlpar.h
rpadlpar_core.c
rpadlpar_sysfs.c
rpaphp.h
rpaphp_core.c
rpaphp_pci.c
rpaphp_slot.c
s390_pci_hpc.c PCI: Fix typos 2024-09-19 14:24:00 -05:00
shpchp.h PCI: shpchp: Remove hpc_ops 2024-08-02 11:39:59 -05:00
shpchp_core.c PCI: shpchp: Remove hpc_ops 2024-08-02 11:39:59 -05:00
shpchp_ctrl.c PCI: shpchp: Remove hpc_ops 2024-08-02 11:39:59 -05:00
shpchp_hpc.c PCI: shpchp: Remove hpc_ops 2024-08-02 11:39:59 -05:00
shpchp_pci.c
shpchp_sysfs.c