[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160613104122.30341.qmail@ns.sciencehorizons.net>
Date: 13 Jun 2016 06:41:22 -0400
From: "George Spelvin" <linux@...encehorizons.net>
To: tglx@...utronix.de
Cc: linux@...encehorizons.net, linux-kernel@...r.kernel.org
Subject: Re: [patch 11/20] hlist: Add hlist_is_last_node() helper
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.
Powered by blists - more mailing lists