From: Jiri Slaby Date: Wed, 3 Dec 2008 08:13:46 +0000 (+0100) Subject: ATA: piix, fix pointer deref on suspend X-Git-Tag: v2.6.28-rc8~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac6212660fa3d8d0d21e782a22b956a6bc78a43;p=pandora-kernel.git ATA: piix, fix pointer deref on suspend Hi, I've found this issue in the mmotm 2008-12-02-17-08. -- Commit ata_piix: add borked Tecra M4 to broken suspend list introduced DMI variables checking, but they can be null, so that we possibly dereference null. Check if they are null and avoid checks in that case. Solves: BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 IP: [] piix_pci_device_suspend+0x117/0x230 Signed-off-by: Jiri Slaby Cc: Jeff Garzik Cc: Alexandru Romanescu Cc: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed