]> git.neil.brown.name Git - history.git/commit
[PATCH] ACPI: check parameter for NULL
authorNick Piggin <nickpiggin@yahoo.com.au>
Mon, 11 Oct 2004 01:26:06 +0000 (18:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 11 Oct 2004 01:26:06 +0000 (18:26 -0700)
commit4724e9740897591423510ecdf9a37489988fe63e
tree95deabb2e17c64530f5f9ab417af2d6eeffd39a8
parent235fc023a2bae11ddd7c33275a1ee51986bde535
[PATCH] ACPI: check parameter for NULL

ACPI still explodes on my old PII and stops it booting.

Anyway, it is oopsing in drivers/acpi/scan.c line 207 where element
(which is NULL) gets dereferenced.

The ACPI bios on this thing has always seemed to be pretty broken, but
this at least allows the 'power' button to continue to work (the only
reason why I want ACPI).
drivers/acpi/scan.c