The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* reserved identifier violation
@ 2013-11-08 14:40 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2013-11-08 14:40 UTC (permalink / raw)
  To: linux-kernel

Hello,

I find that identifiers like the following do not fit to the expected naming
convention of the C language standard.
- _ALPHA_BUG_H

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/alpha/include/asm/bug.h?id=acadbfb90a54673d6c8b05aa4e93218433890411#n1

- __BARRIER_H

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/alpha/include/asm/barrier.h?id=77b4cf5cb0c9d6010a18030a0e0a8d2aaf6b43ec#n1

- _UAPI__ALPHA_COMPILER_H

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/alpha/include/uapi/asm/compiler.h?id=96433f6ee49032d7a8bda76de2b05cfde2914354#n1


Would you like to adjust the selection for unique names?
https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier#DCL37-C.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29

Regards,
Markus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-08 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08 14:40 reserved identifier violation Markus Elfring

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