All of lore.kernel.org
 help / color / mirror / Atom feed
* Coding style: mixed-case
@ 2005-04-06  1:29 Kenneth Aafløy
  2005-04-06  2:09 ` Matt Mackall
  0 siblings, 1 reply; 5+ messages in thread
From: Kenneth Aafløy @ 2005-04-06  1:29 UTC (permalink / raw)
  To: linux-kernel

Hi,

while reading Documentation/CodingStyle for the nth time, I realized that I had
read some conflicting coding style in some patch posted to the linux-kernel
mailing-list; in include/linux/page-flags.h, there is a lot of defines that are
apparently frowned upon:

HOWEVER, while mixed-case names are frowned upon, descriptive names for
global variables are a must.  To call a global function "foo" is a
shooting offense.

Are those an exception to the rule or would for example PF_LOCKED/pf_locked be
a nice replacement for PageLocked?

Just wondering; with no intention to change code that I do not understand :)

Kenneth

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

end of thread, other threads:[~2005-04-06 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06  1:29 Coding style: mixed-case Kenneth Aafløy
2005-04-06  2:09 ` Matt Mackall
2005-04-06  2:37   ` Kenneth Aafløy
2005-04-06  9:01     ` Nick Piggin
2005-04-06 12:22       ` Hugh Dickins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.