lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ