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>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 3 Feb 2007 02:49:34 -0500 (EST)
From:	"Robert P. J. Day" <rpjday@...dspring.com>
To:	Linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: a quick survey:  "FIELD_SIZEOF" or "MEMBER_SIZE"?


  pardon the interruption but, once upon a time, we were discussing
cleaning up code to use the kernel.h-defined macro "FIELD_SIZEOF".

  some folks suggested that the macro name itself was kind of awkward
as it didn't fit the pattern of "ARRAY_SIZE" defined in that same
header file.

  because of a name clash, "FIELD_SIZE" is not available, but there
was a suggestion of, uh, "MEMBER_SIZE".  :-)

  so, really, those are the two viable choices -- stick with the
current name of FIELD_SIZEOF, or switch to MEMBER_SIZE.  switching is
not a big deal since no one (at least, no one in the current tree)
uses FIELD_SIZEOF as it is, so it's not as if it would be a disruptive
change in the slightest.

  opinions?

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ