login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
19
Re: [PATCH] libata: don't whine if ->prereset() returns -ENOENT
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: [PATCH] libata: don't whine if ->prereset() returns -ENOENT
Date: Monday, March 19, 2007 - 9:03 am
Tejun Heo wrote:
quoted text
> ->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> > --- > > This should do it and better fits the intention of the return value. > Two things to note. > > 1. I think these ports should be made dummy instead of returning > -ENOENT on prereset(). -ENOENT from prereset() was a hack to keep > ata_piix's behavior unchanged while converting it to new EH. If no > one objcts, I'll convert similar usages to use dummy ports after new > init model and drop -ENOENT hack in #upstream. > > 2. -ENODEV sounds more appropriate. Why have I used -ENOENT. :-)
applied -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[git patches] libata (and devres) fixes
, Jeff Garzik
, (Fri Mar 9, 9:31 am)
Re: [git patches] libata (and devres) fixes
, Fabio Comolli
, (Fri Mar 9, 2:24 pm)
Re: [git patches] libata (and devres) fixes
, Jeff Garzik
, (Fri Mar 9, 2:43 pm)
Re: [git patches] libata (and devres) fixes
, Alan Cox
, (Fri Mar 9, 4:48 pm)
Re: [git patches] libata (and devres) fixes
, Fabio Comolli
, (Sat Mar 10, 8:28 am)
[PATCH] libata: don't whine if ->prereset() returns -ENOENT
, Tejun Heo
, (Mon Mar 12, 1:24 am)
Re: [PATCH] libata: don't whine if ->prereset() returns -E ...
, Alan Cox
, (Mon Mar 12, 5:10 am)
Re: [PATCH] libata: don't whine if ->prereset() returns -E ...
, Fabio Comolli
, (Mon Mar 12, 1:14 pm)
Re: [PATCH] libata: don't whine if ->prereset() returns -E ...
, Jeff Garzik
, (Mon Mar 19, 9:03 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List