diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-12-03 09:13:46 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-12-09 00:43:54 -0500 |
commit | 9ac6212660fa3d8d0d21e782a22b956a6bc78a43 (patch) | |
tree | 8e42713b7160b4a0160ef1fda59cc7e3ad82e609 /crypto | |
parent | 2456eb819be7aa2cac73359c2855dfa30e46d75a (diff) | |
download | linux-3.10-9ac6212660fa3d8d0d21e782a22b956a6bc78a43.tar.gz linux-3.10-9ac6212660fa3d8d0d21e782a22b956a6bc78a43.tar.bz2 linux-3.10-9ac6212660fa3d8d0d21e782a22b956a6bc78a43.zip |
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: [<ffffffff8043da97>] piix_pci_device_suspend+0x117/0x230
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jeff Garzik <jgarzik@redhat.com>
Cc: Alexandru Romanescu <a_romanescu@yahoo.co.uk>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions