]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PrintLib: Refine the comment for AsciiValueToStringS API
authorHao Wu <hao.a.wu@intel.com>
Tue, 7 Mar 2017 08:02:27 +0000 (16:02 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 13 Mar 2017 03:09:29 +0000 (11:09 +0800)
The commit refines the comment description for PrintLib API
AsciiValueToStringS.

This API 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 <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c

index 6a4d25b73a7d293d54f3f1edb36c5b8c1bafb722..9f702c4fefcea5ba83f7cfd34460c4a68c18a590 100644 (file)
@@ -1173,8 +1173,7 @@ AsciiValueToString (
   sign character, '0' characters, digit characters for Value, and the\r
   Null-terminator add up to Width characters.\r
 \r
-  If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
-  If an error would be returned, then the function will also ASSERT().\r
+  If an error would be returned, then the function will ASSERT().\r
 \r
   @param  Buffer      The pointer to the output buffer for the produced\r
                       Null-terminated Ascii string.\r