From: "George Spelvin" <linux@sciencehorizons.net>
To: tglx@linutronix.de
Cc: linux@sciencehorizons.net, linux-kernel@vger.kernel.org
Subject: Re: [patch 11/20] hlist: Add hlist_is_last_node() helper
Date: 13 Jun 2016 06:41:22 -0400 [thread overview]
Message-ID: <20160613104122.30341.qmail@ns.sciencehorizons.net> (raw)
Shouldn't this function be called hlist_is_only_node()?
hlist_is_last_node would be simply !n->next, as "last" doesn't
imply the lack of others.
I understand how the name might make sense in the context of removing
entries from the list, but in other contexts, it's confusing.
next reply other threads:[~2016-06-13 10:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 10:41 George Spelvin [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-13 8:40 [patch 00/20] timer: Refactor the timer wheel Thomas Gleixner
2016-06-13 8:40 ` [patch 11/20] hlist: Add hlist_is_last_node() helper Thomas Gleixner
2016-06-13 10:27 ` Paolo Bonzini
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=20160613104122.30341.qmail@ns.sciencehorizons.net \
--to=linux@sciencehorizons.net \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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®