diff options
author | Bi, Dandan <dandan.bi@intel.com> | 2019-02-01 14:02:00 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-02-02 21:41:47 +0800 |
commit | 6c61ec4c62b6d1001e8ea6683e83f0e9ec0b3c9b (patch) | |
tree | 88eac3ff767c884220598b8da9a3c8bd2353b232 /MdePkg/Library | |
parent | 44289eeafdf12bc1e7a50221f10760b466a7e987 (diff) | |
download | edk2-6c61ec4c62b6d1001e8ea6683e83f0e9ec0b3c9b.tar.gz edk2-6c61ec4c62b6d1001e8ea6683e83f0e9ec0b3c9b.tar.bz2 edk2-6c61ec4c62b6d1001e8ea6683e83f0e9ec0b3c9b.zip |
MdePkg: Fix coding style issues
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1478
Fix issues that reported by Edk2 coding style check tool(ECC) that:
in Comment, <@param SystemTable> does NOT consistent with parameter
name MmSystemTable.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c | 4 | ||||
-rw-r--r-- | MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c index 4fb494d8cb..b665233142 100644 --- a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c +++ b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c @@ -34,8 +34,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. If _gMmRevision is not zero and SystemTable->Hdr.Revision is
less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.
- @param ImageHandle The image handle of the Standalone MM Driver.
- @param SystemTable A pointer to the EFI System Table.
+ @param ImageHandle The image handle of the Standalone MM Driver.
+ @param MmSystemTable A pointer to the MM System Table.
@retval EFI_SUCCESS The Standalone MM Driver exited normally.
@retval EFI_INCOMPATIBLE_VERSION _gMmRevision is greater than
diff --git a/MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c b/MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c index b870f25fcf..de7c980c7b 100644 --- a/MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c +++ b/MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c @@ -22,8 +22,8 @@ EFI_MM_SYSTEM_TABLE *gMmst = NULL; /**
The constructor function caches the pointer of the MM Services Table.
- @param ImageHandle The firmware allocated handle for the EFI image.
- @param SystemTable A pointer to the EFI System Table.
+ @param ImageHandle The firmware allocated handle for the EFI image.
+ @param MmSystemTable A pointer to the MM System Table.
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|