linux/drivers/platform/x86
Kulikov Vasiliy 5629236b31 x86: intel_ips: do not use PCI resources before pci_enable_device()
IRQ and resource[] may not have correct values until
after PCI hotplug setup occurs at pci_enable_device() time.

The semantic match that finds this problem is as follows:

// <smpl>
@@
identifier x;
identifier request ~= "pci_request.*|pci_resource.*";
@@

(
* x->irq
|
* x->resource
|
* request(x, ...)
)
 ...
*pci_enable_device(x)
// </smpl>

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2010-08-16 11:53:44 -04:00
..
Kconfig Add Lenovo ideapad driver 2010-08-11 00:01:21 +01:00
Makefile Add Lenovo ideapad driver 2010-08-11 00:01:21 +01:00
acer-wmi.c acer-wmi: remove non-used acer_quirks struct definition 2010-08-03 09:49:04 -04:00
acerhdf.c acerhdf: fix resource reclaim in error path 2010-08-03 09:49:01 -04:00
asus-laptop.c asus-laptop: fix asus_input_init error path 2010-08-03 09:49:11 -04:00
asus_acpi.c asus_acpi: fix coding style to improve readability 2010-08-03 09:48:58 -04:00
classmate-laptop.c classmate-laptop: make needlessly global symbols static 2010-08-03 09:48:59 -04:00
compal-laptop.c compal-laptop/fujitsu-laptop/msi-laptop: make dmi_check_cb to return 1 instead of 0 2010-08-03 09:48:57 -04:00
dell-laptop.c dell-laptop: make dell_laptop_i8042_filter() static 2010-08-03 09:49:11 -04:00
dell-wmi.c dell-wmi: fix a memory leak 2010-08-03 09:48:53 -04:00
eeepc-laptop.c eeepc-laptop: fix hotplug_disabled module_param permissions 2010-08-03 09:49:05 -04:00
eeepc-wmi.c drivers/platform/x86/eeepc-wmi.c: fix build warning 2010-05-20 09:46:24 -04:00
fujitsu-laptop.c fujitsu-laptop: make needlessly global symbols static 2010-08-03 09:49:00 -04:00
hp-wmi.c hp-wmi: acpi_drivers.h is already included through acpi.h two lines below 2010-08-03 09:49:12 -04:00
ideapad_acpi.c ideapad: Only allow camera state to be set to 0 or 1 2010-08-11 18:00:52 +01:00
intel_ips.c x86: intel_ips: do not use PCI resources before pci_enable_device() 2010-08-16 11:53:44 -04:00
intel_menlow.c intel_menlow: fix memory leaks in error path 2010-08-03 09:48:40 -04:00
intel_pmic_gpio.c gpio: Add PMIC GPIO block support 2010-08-03 09:49:09 -04:00
intel_rar_register.c rar: Move the RAR driver into the right place as its now clean 2010-08-03 09:48:50 -04:00
intel_scu_ipc.c intel_scu_ipc: fix size field for intel_scu_ipc_command 2010-08-03 09:50:33 -04:00
msi-laptop.c msi-laptop: make struct rfkill_ops const 2010-08-03 09:49:00 -04:00
msi-wmi.c msi-wmi: make needlessly global symbols static 2010-08-03 09:49:10 -04:00
panasonic-laptop.c panasonic-laptop: fix acpi_pcc_write_sset return value 2010-08-03 09:49:05 -04:00
sony-laptop.c sony-laptop: use platform_device_unregister in sony_pf_remove 2010-08-03 09:48:53 -04:00
tc1100-wmi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
thinkpad_acpi.c X86 platform drivers: Remove EC dump from thinkpad_acpi 2010-08-03 09:49:06 -04:00
topstar-laptop.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
toshiba_acpi.c toshiba-acpi: Add support for Toshiba Illumination. 2010-08-03 09:49:10 -04:00
toshiba_bluetooth.c ACPI: replace acpi_integer by u64 2010-01-28 01:47:33 -05:00
wmi.c X86 platform driver: Fix section mismatch in wmi.c 2010-08-03 09:49:07 -04:00