From: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
To: Dmitry Torokhov <dtor@insightbb.com>
Cc: Arjan van de Ven <arjan@infradead.org>, Andi Kleen <ak@suse.de>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: Re: [RFC/PATCH] Introduce list_get() and list_get_tail()
Date: Tue, 11 Jul 2006 13:43:31 -0400 [thread overview]
Message-ID: <20060711174331.GA1666@filer.fsl.cs.sunysb.edu> (raw)
In-Reply-To: <200607082328.48575.dtor@insightbb.com>
On Sat, Jul 08, 2006 at 11:28:47PM -0400, Dmitry Torokhov wrote:
...
> +#define list_next_entry list_first_entry
list_next_entry, that sounds almost as something which given any list_head
will give you the next entry. That's all fine until you give it the last
list_head in the list - you'll try to use list_entry on a list_head that's
not part of a struct but is the head of the list instead.
> +#define list_prev_entry list_last_entry
Ditto.
Jeff.
--
Note 96.3% of all statistics are fiction.
next prev parent reply other threads:[~2006-07-11 17:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-08 5:24 Dmitry Torokhov
2006-07-08 13:58 ` Andi Kleen
2006-07-08 14:16 ` Arjan van de Ven
2006-07-08 17:02 ` Matthieu CASTET
2006-07-09 3:28 ` Dmitry Torokhov
2006-07-11 17:43 ` Josef Sipek [this message]
2006-07-11 17:58 ` Dmitry Torokhov
2006-07-08 18:31 ` Arnd Bergmann
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=20060711174331.GA1666@filer.fsl.cs.sunysb.edu \
--to=jsipek@fsl.cs.sunysb.edu \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=arnd@arndb.de \
--cc=dtor@insightbb.com \
--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®