diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2026-09-30 17:17:06 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-09-30 17:17:06 -0500 |
| commit | 85b2f4dc03bfc4e32b43ce358d6a3ae0b6171325 (patch) | |
| tree | f156af8589414d765c136a6303c7a5f5465def36 /drivers/pci | |
| parent | 00ba8267fc17b0a768bbc49478d59a59d0e7ee86 (diff) | |
| parent | 5ab17178fca6026d329cb6ced33c30f3b7d3e50a (diff) | |
| download | linux-next-85b2f4dc03bfc4e32b43ce358d6a3ae0b6171325.tar.gz linux-next-85b2f4dc03bfc4e32b43ce358d6a3ae0b6171325.zip | |
Merge branch 'pci/hotplug'
- Make the 'pciehp_poll_mode' parameter read-only to prevent changes via
sysfs, which can cause errors when unbinding (Runyu Xiao)
* pci/hotplug:
PCI: pciehp: Make 'pciehp_poll_mode' parameter read-only
Diffstat (limited to 'drivers/pci')
| -rw-r--r-- | drivers/pci/hotplug/pciehp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index 2cafd3b26f34..5ce32dc7e178 100644 --- a/drivers/pci/hotplug/pciehp_core.c +++ b/drivers/pci/hotplug/pciehp_core.c @@ -38,7 +38,7 @@ int pciehp_poll_time; * not really modular, but the easiest way to keep compat with existing * bootargs behaviour is to continue using module_param here. */ -module_param(pciehp_poll_mode, bool, 0644); +module_param(pciehp_poll_mode, bool, 0444); module_param(pciehp_poll_time, int, 0644); MODULE_PARM_DESC(pciehp_poll_mode, "Using polling mechanism for hot-plug events or not"); MODULE_PARM_DESC(pciehp_poll_time, "Polling mechanism frequency, in seconds"); |
