Messages in this thread | | | Date | Fri, 08 Nov 2013 15:40:26 +0100 | From | Markus Elfring <> | Subject | reserved identifier violation |
| |
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
| |