diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2020-11-13 12:39:38 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-01-04 17:47:29 +0000 |
commit | e5908945368163bb15c8c1a49745f4c1138f1ab4 (patch) | |
tree | 823ce93c7fb7b78c2c038044e99b26f9cf99c679 /edksetup.sh | |
parent | 0785c619a58a450091d2bf6755591012533b80b8 (diff) | |
download | edk2-e5908945368163bb15c8c1a49745f4c1138f1ab4.tar.gz edk2-e5908945368163bb15c8c1a49745f4c1138f1ab4.tar.bz2 edk2-e5908945368163bb15c8c1a49745f4c1138f1ab4.zip |
ArmPlatformPkg: Fix Ecc error 8005
This patch fixes the following Ecc reported error:
Variable name does not follow the rules:
1. First character should be upper case
2. Must contain lower case characters
3. No white space characters
4. Global variable name must start with a 'g'
Indeed, according to the EDK II C Coding Standards
Specification, s5.6.2.2 "Enumerated Types" and
s4.3.4 Function and Data Names, elements of an
enumerated type shoud be a mixed upper- and
lower-case text.
A max element is also added, as advised by
s5.6.2.2.3 of the same document.
Reference:
https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'edksetup.sh')
0 files changed, 0 insertions, 0 deletions