diff options
author | Tejun Heo <tj@kernel.org> | 2008-10-27 11:59:23 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-28 04:55:12 +0100 |
commit | 4a9c7b3359889399aacb94019bbdfc9f38d4cff7 (patch) | |
tree | a791790f02f2a0a5b3ea66c1526ae79f1711dca8 /mm | |
parent | ahci: Add support for Promise PDC42819 (diff) | |
download | linux-4a9c7b3359889399aacb94019bbdfc9f38d4cff7.tar.xz linux-4a9c7b3359889399aacb94019bbdfc9f38d4cff7.zip |
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 <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions