diff options
author | 2007-03-12 17:24:08 +0900 | |
---|---|---|
committer | 2007-03-19 11:55:43 -0400 | |
commit | 4aa9ab67fb9c0dfdb1692f4ec413120832a22ddc (patch) | |
tree | 06b726e351b36e07434359a4d41d91de42891bcb /drivers/acpi/processor_perflib.c | |
parent | [PATCH] Fix build error due to not including <linux/errno.h> (diff) | |
download | linux-dev-4aa9ab67fb9c0dfdb1692f4ec413120832a22ddc.tar.xz linux-dev-4aa9ab67fb9c0dfdb1692f4ec413120832a22ddc.zip |
libata: don't whine if ->prereset() returns -ENOENT
->prereset() returns -ENOENT to tell libata that the port is empty and
reset sequencing should be stopped. This is not an error condition.
Update ata_eh_reset() such that it sets device classes to ATA_DEV_NONE
and return success in on -ENOENT. This makes spurious error message
go away.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
0 files changed, 0 insertions, 0 deletions