Troy Moure
412af97838
ACPI: video: prevent NULL deref in acpi_get_pci_dev()
...
ref: http://thread.gmane.org/gmane.linux.kernel/857228/focus=857468
When the ACPI video driver initializes, it does a namespace walk
looking for for supported devices. When we find an appropriate
handle, we walk up the ACPI tree looking for a PCI root bus, and
then walk back down the PCI bus, assuming that every device
inbetween is a P2P bridge.
This assumption is not correct, and is reported broken on at
least:
Dell Latitude E6400
ThinkPad X61
Dell XPS M1330
Add a NULL deref check to prevent boot panics.
Reported-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Signed-off-by: Troy Moure <twmoure@szypr.net>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-06-26 00:23:42 -04:00
..
2009-05-27 00:41:34 -04:00
2009-06-18 00:13:14 -04:00
2009-01-06 11:28:08 +01:00
2009-06-18 00:38:27 -04:00
2009-06-23 23:32:47 -04:00
2009-06-18 00:13:15 -04:00
2009-04-11 00:36:41 -04:00
2008-12-31 01:15:22 -05:00
2009-02-07 00:29:32 -05:00
2009-04-05 01:45:50 -04:00
2009-04-05 02:14:15 -04:00
2009-04-23 23:56:57 -04:00
2009-02-05 23:56:36 -08:00
2009-04-05 02:14:15 -04:00
2009-06-17 23:32:24 -04:00
2009-03-27 12:51:31 -04:00
2009-06-18 13:57:24 -07:00
2009-04-05 01:48:46 -04:00
2009-04-03 20:08:12 -04:00
2009-06-23 23:23:14 -04:00
2009-06-17 23:32:23 -04:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-03-17 01:53:29 -04:00
2009-06-26 00:23:42 -04:00
2009-04-06 11:31:14 -07:00
2009-05-27 21:45:53 -04:00
2009-04-07 00:02:40 -04:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-05-29 20:45:58 -04:00
2009-04-05 01:51:16 -04:00
2009-05-29 21:26:26 -04:00
2008-12-31 01:15:00 -05:00
2009-04-05 02:14:15 -04:00
2008-12-31 01:15:22 -05:00
2007-12-14 15:14:06 -05:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-04-24 01:35:24 -04:00
2009-04-07 00:02:40 -04:00
2009-04-21 00:35:47 -04:00
2009-04-05 02:14:15 -04:00
2009-04-18 01:05:23 -04:00
2008-11-26 17:39:06 -05:00
2009-06-17 23:32:23 -04:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-04-07 00:02:40 -04:00