From: Tejun Heo Date: Sun, 12 Mar 2006 16:57:01 +0000 (+0900) Subject: [PATCH] libata: fix class handling in ata_bus_probe() X-Git-Tag: v2.6.17-rc1~1182^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2044470cccec1bfe6bb819027975df302ff43bf8;p=pandora-kernel.git [PATCH] libata: fix class handling in ata_bus_probe() ata_bus_probe() didn't set classes[] properly for port disabled case of ->phy_reset() compatibility path. This patch moves classes[] initialization and normalization out of ->probe_reset block such that it applies to both ->probe_reset and ->phy_reset paths. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed