commit | 2061a47a9b9530a9523e51167c996307db951c31 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Mar 12 00:57:39 2006 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Mar 11 19:04:49 2006 -0500 |
tree | caf1ecb16e7030017fd14ea1f2f32b29b74090f3 | |
parent | 75f554bc139461a5a926fad6a6fa90433a00a117 [diff] |
[PATCH] libata: fix missing classes[] initialization in ata_bus_probe() 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>