https://github.com/torvalds/linux
Revision 9c2676b61a5a4b6d99e65fb2f438fb3914302eda authored by Tejun Heo on 29 August 2008, 14:27:43 UTC, committed by Jeff Garzik on 08 September 2008, 16:15:38 UTC
On HSM_ST_ERR, ata_hsm_move() triggers WARN_ON() if AC_ERR_DEV or
AC_ERR_HSM is not set.  PHY events may trigger HSM_ST_ERR with other
error codes and, with or without it, there just isn't much reason to
do WARN_ON() on it.  Even if error code is not set there, core EH
logic won't have any problem dealing with the error condition.

OSDL bz#11065 reports this problem.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
1 parent 2fd673e
History
Tip revision: 9c2676b61a5a4b6d99e65fb2f438fb3914302eda authored by Tejun Heo on 29 August 2008, 14:27:43 UTC
libata-sff: kill spurious WARN_ON() in ata_hsm_move()
Tip revision: 9c2676b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top