]> err.no Git - linux-2.6/commit
[PATCH] ahci: fix NULL pointer dereference detected by Coverity
authorTejun Heo <htejun@gmail.com>
Sat, 11 Mar 2006 03:47:54 +0000 (12:47 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 00:06:02 +0000 (19:06 -0500)
commit6971ed1fbbc80cae54e082aae153d5b063885d0a
tree164d950b587badb59dc2e2415ab74c2210accff7
parented62178589929d248a0aaf4018ca3867e2f96d9d
[PATCH] ahci: fix NULL pointer dereference detected by Coverity

Fix NULL pointer dereference detected by the Coverity checker.  Kill
dev -> pdev -> dev conversion while at it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/ahci.c