From: Jeff Garzik <jgarzik@pobox.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] libata-eh: Remove layering violation and duplication when handling absent ports
Date: Tue, 26 Sep 2006 13:35:29 -0400 [thread overview]
Message-ID: <451964E1.4090304@pobox.com> (raw)
In-Reply-To: <1159289618.11049.259.camel@localhost.localdomain>
Alan Cox wrote:
> This removes the layering violation where drivers have to fiddle
> directly with EH flags. Instead we now recognize -ENOENT means "no port"
> and do the handling in the core code.
>
> This also removes an instance of a call to disable the port, and an
> identical printk from each driver doing this. Even better - future rule
> changes will be in one place only.
>
> Signed-off-by: Alan Cox <alan@redhat.com>
applied, but please stop adding trailing whitespace
next prev parent reply other threads:[~2006-09-26 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 16:53 [PATCH] libata-eh: Remove layering violation and duplication when handling absent ports Alan Cox
2006-09-26 17:35 ` Jeff Garzik [this message]
2006-09-26 19:27 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451964E1.4090304@pobox.com \
--to=jgarzik@pobox.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.