From: Christoph Hellwig <hch@infradead.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Christoph Hellwig <hch@infradead.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] helper for device list traversal
Date: Sat, 27 Sep 2003 12:39:33 +0100 [thread overview]
Message-ID: <20030927123933.A21629@infradead.org> (raw)
In-Reply-To: <Pine.GSO.4.21.0309271330460.6768-100000@vervain.sonytel.be>; from geert@linux-m68k.org on Sat, Sep 27, 2003 at 01:34:15PM +0200
On Sat, Sep 27, 2003 at 01:34:15PM +0200, Geert Uytterhoeven wrote:
> Is this what we should use to fix the currently broken list traversal[*] in
> drivers/scsi/{a2091,gvp11,53c7xx}.c?
where does that [*] refere to?
> Currently ut uses
>
> struct Scsi_Host *instance;
> for (instance = first_instance; instance &&
> instance->hostt == xxx_template; instance = instance->next)
>
> bust Scsi_Host.next was removed a while ago...
Most users of that construct want to use scsi_lookup_host (if they
looked for a specific host struct).
Above patch is for scsi_device list traversal, not Scsi_Host.
next prev parent reply other threads:[~2003-09-27 11:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200309270508.h8R58tHE015032@hera.kernel.org>
2003-09-27 11:34 ` Geert Uytterhoeven
2003-09-27 11:39 ` Christoph Hellwig [this message]
2003-09-27 12:15 ` Geert Uytterhoeven
2003-09-27 12:18 ` Christoph Hellwig
2003-09-27 12:15 ` Christoph Hellwig
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=20030927123933.A21629@infradead.org \
--to=hch@infradead.org \
--cc=geert@linux-m68k.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®