diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2020-12-22 12:35:02 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-15 19:53:39 +0000 |
commit | 152015fa6515c0dd35ee3fec95903af7d4458905 (patch) | |
tree | 326bf8c76189427c47c0c55d51e0b4c983856cfa /MdePkg | |
parent | 74b41d56485bd77f5e38b664bf7245dd2b1dd32e (diff) | |
download | edk2-152015fa6515c0dd35ee3fec95903af7d4458905.tar.gz edk2-152015fa6515c0dd35ee3fec95903af7d4458905.tar.bz2 edk2-152015fa6515c0dd35ee3fec95903af7d4458905.zip |
ArmPkg: Fix Ecc error 6001 in MmCommunicationDxe
This patch fixes the following Ecc reported error:
All include file contents should be guarded by
a #ifndef statement.
This patch replaces a "#if !defined [...]" statement
by a "#ifndef [...]" statement, preventing Ecc to
throw an error.
Edk2 coding standard stating that:
"Names starting with one or two underscores, such as
_MACRO_GUARD_FILE_NAME_H_, must not be used."
the include guard is also updated.
Ref:
https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/
5_source_files/53_include_files#
5-3-5-all-include-file-contents-must-be-protected-by-a-include-guard
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions