From: Matthieu CASTET <castet.matthieu@free.fr>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC/PATCH] Introduce list_get() and list_get_tail()
Date: Sat, 08 Jul 2006 19:02:39 +0200 [thread overview]
Message-ID: <pan.2006.07.08.17.02.38.345043@free.fr> (raw)
In-Reply-To: <1152368186.3120.50.camel@laptopd505.fenrus.org>
Le Sat, 08 Jul 2006 16:16:25 +0200, Arjan van de Ven a écrit :
> On Sat, 2006-07-08 at 15:58 +0200, Andi Kleen wrote:
>> Dmitry Torokhov <dtor@insightbb.com> writes:
>>
>> > From: Dmitry Torokhov <dtor@mail.ru>
>> >
>> > Add primitives to access first and last elements of a list instead
>> > of accessng pointers directly.
>>
>> Wouldn't that be beter named list_first() and list_last() then?
>> _get is like _do and usually not very descriptive.
>
> and _get tends to imply a reference count as well; I'm with Andi on
> this.. list_first() and list_last()
Yes from the name I would expect they remove the entry from the list...
next prev parent reply other threads:[~2006-07-08 17:02 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 [this message]
2006-07-09 3:28 ` Dmitry Torokhov
2006-07-11 17:43 ` Josef Sipek
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=pan.2006.07.08.17.02.38.345043@free.fr \
--to=castet.matthieu@free.fr \
--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
Powered by JetHome