Revision 4a9c7b3359889399aacb94019bbdfc9f38d4cff7 authored by Tejun Heo on 27 October 2008, 10:59:23 UTC, committed by Jeff Garzik on 28 October 2008, 03:55:12 UTC
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>
1 parent c77a036
History
File Mode Size
Kconfig -rw-r--r-- 773 bytes
Makefile -rw-r--r-- 378 bytes
clockevents.c -rw-r--r-- 5.7 KB
clocksource.c -rw-r--r-- 14.0 KB
jiffies.c -rw-r--r-- 2.6 KB
ntp.c -rw-r--r-- 11.5 KB
tick-broadcast.c -rw-r--r-- 14.2 KB
tick-common.c -rw-r--r-- 8.8 KB
tick-internal.h -rw-r--r-- 4.4 KB
tick-oneshot.c -rw-r--r-- 3.4 KB
tick-sched.c -rw-r--r-- 18.9 KB
timekeeping.c -rw-r--r-- 14.3 KB
timer_list.c -rw-r--r-- 7.2 KB
timer_stats.c -rw-r--r-- 9.7 KB

back to top