reserved identifier violation

From: Markus Elfring
Date: Fri Nov 08 2013 - 09:40:39 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/