[PATCH] libata: make ata_bus_probe() return negative errno on failure
authorTejun Heo <htejun@gmail.com>
Fri, 31 Mar 2006 16:38:17 +0000 (01:38 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Apr 2006 17:33:45 +0000 (12:33 -0500)
ata_bus_probe() uses unsigned int rc to receive negative errno and
returns the converted unsigned int value.  Convert temporary variables
to int and make ata_bus_probe() return negative errno on failure.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found