diff options
author | 2015-11-01 13:58:40 -0800 | |
---|---|---|
committer | 2015-11-25 11:45:42 -0600 | |
commit | 64609eaab242d36e3e3b7cb81d31a028719feb74 (patch) | |
tree | 54d8bbdcaa70a0a5bdc4e0c7d02a3c098ea02654 /tools/perf/scripts/python/stackcollapse.py | |
parent | Linux 4.4-rc2 (diff) | |
download | linux-dev-64609eaab242d36e3e3b7cb81d31a028719feb74.tar.xz linux-dev-64609eaab242d36e3e3b7cb81d31a028719feb74.zip |
PCI: pciehp: Always protect pciehp_disable_slot() with hotplug mutex
When called from pciehp_sysfs_disable_slot(), the call to
pciehp_disable_slot() was not protected by the hotplug mutex.
Hold slot->hotplug_lock while calling pciehp_disable_slot().
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rajat Jain <rajatxjain@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions