Revision: 19009
          http://sourceforge.net/p/edk2/code/19009
Author:   vanjeff
Date:     2015-11-30 03:14:14 +0000 (Mon, 30 Nov 2015)
Log Message:
-----------
MdePkg SerialPortLib:  Fix typo in SerialPortWrite()

The "read" word in SerialPortWrite() header comment block should be
"write".

(Sync patch r18908 from main trunk.)

Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18908

Modified Paths:
--------------
    branches/UDK2015/MdePkg/Include/Library/SerialPortLib.h
    
branches/UDK2015/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c

Modified: branches/UDK2015/MdePkg/Include/Library/SerialPortLib.h
===================================================================
--- branches/UDK2015/MdePkg/Include/Library/SerialPortLib.h     2015-11-30 
03:13:42 UTC (rev 19008)
+++ branches/UDK2015/MdePkg/Include/Library/SerialPortLib.h     2015-11-30 
03:14:14 UTC (rev 19009)
@@ -1,7 +1,7 @@
 /** @file
   This library class provides common serial I/O port functions.
 
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -46,7 +46,7 @@
 
   @retval 0                NumberOfBytes is 0.
   @retval >0               The number of bytes written to the serial device.  
-                           If this value is less than NumberOfBytes, then the 
read operation failed.
+                           If this value is less than NumberOfBytes, then the 
write operation failed.
 
 **/
 UINTN

Modified: 
branches/UDK2015/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
===================================================================
--- 
branches/UDK2015/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c   
    2015-11-30 03:13:42 UTC (rev 19008)
+++ 
branches/UDK2015/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c   
    2015-11-30 03:14:14 UTC (rev 19009)
@@ -1,7 +1,7 @@
 /** @file
   Null Serial Port library instance with empty functions.
 
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
   which accompanies this distribution.  The full text of the license may be 
found at
@@ -50,7 +50,7 @@
 
   @retval 0                NumberOfBytes is 0.
   @retval >0               The number of bytes written to the serial device.  
-                           If this value is less than NumberOfBytes, then the 
read operation failed.
+                           If this value is less than NumberOfBytes, then the 
write operation failed.
 
 **/
 UINTN


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to