[PATCH] libata: fix missing classes[] initialization in ata_bus_probe()
authorTejun Heo <htejun@gmail.com>
Sat, 11 Mar 2006 15:57:39 +0000 (00:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 00:04:49 +0000 (19:04 -0500)
ata_bus_probe() didn't initialize classes[] properly with
ATA_DEV_UNKNOWN.  As ->probe_reset() is allowed to leave @classes
alone when no device is present, this results in garbage class values.
ATM, the only affected driver is ata_piix.

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

No differences found