From: Hao Wu Date: Tue, 7 Mar 2017 08:04:04 +0000 (+0800) Subject: MdeModulePkg/Print2: Refine the comment for ASCII_VALUE_TO_STRING_S X-Git-Tag: edk2-stable201903~4421 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e5735b98c2da8b4eeed36edfbec58a55ca3d236b MdeModulePkg/Print2: Refine the comment for ASCII_VALUE_TO_STRING_S The commit refines the comment description for EFI_PRINT2S_PROTOCOL service ASCII_VALUE_TO_STRING_S. This service will not ASSERT when the input/output parameter 'Buffer' is not aligned on a 16-bit boundary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao --- diff --git a/MdeModulePkg/Include/Protocol/Print2.h b/MdeModulePkg/Include/Protocol/Print2.h index e4dd6f2be5..61b574e78a 100644 --- a/MdeModulePkg/Include/Protocol/Print2.h +++ b/MdeModulePkg/Include/Protocol/Print2.h @@ -610,8 +610,7 @@ RETURN_STATUS sign character, '0' characters, digit characters for Value, and the Null-terminator add up to Width characters. - If Buffer is not aligned on a 16-bit boundary, then ASSERT(). - If an error would be returned, then the function will also ASSERT(). + If an error would be returned, then the function will ASSERT(). @param Buffer The pointer to the output buffer for the produced Null-terminated Ascii string.