public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* a quick survey:  "FIELD_SIZEOF" or "MEMBER_SIZE"?
@ 2007-02-03  7:49 Robert P. J. Day
  2007-02-03  8:45 ` Matt Mackall
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-02-03  7:49 UTC (permalink / raw)
  To: Linux kernel mailing list


  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
========================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-03  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-03  7:49 a quick survey: "FIELD_SIZEOF" or "MEMBER_SIZE"? Robert P. J. Day
2007-02-03  8:45 ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox