From: Tejun Heo Date: Mon, 27 Oct 2008 10:59:23 +0000 (+0900) Subject: libata: fix device iteration bugs X-Git-Tag: v2.6.28-rc3~93^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a9c7b3359889399aacb94019bbdfc9f38d4cff7;p=pandora-kernel.git libata: fix device iteration bugs There were several places where only enabled devices should be iterated over but device enabledness wasn't checked. * IDENTIFY data 40 wire check in cable_is_40wire() * xfer_mode/ncq_enabled saving in ata_scsi_error() * DUBIOUS_XFER handling in ata_set_mode() While at it, reformat comments in cable_is_40wire(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed