From: Tejun Heo Date: Mon, 12 Mar 2007 08:24:08 +0000 (+0900) Subject: libata: don't whine if ->prereset() returns -ENOENT X-Git-Tag: v2.6.21-rc5~53^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa9ab67fb9c0dfdb1692f4ec413120832a22ddc;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed