Revision: 18908
          http://sourceforge.net/p/edk2/code/18908
Author:   lzeng14
Date:     2015-11-20 01:49:48 +0000 (Fri, 20 Nov 2015)
Log Message:
-----------
MdePkg SerialPortLib:  Fix typo in SerialPortWrite()

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

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]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/Include/Library/SerialPortLib.h
    trunk/edk2/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c

Modified: trunk/edk2/MdePkg/Include/Library/SerialPortLib.h
===================================================================
--- trunk/edk2/MdePkg/Include/Library/SerialPortLib.h   2015-11-20 01:46:42 UTC 
(rev 18907)
+++ trunk/edk2/MdePkg/Include/Library/SerialPortLib.h   2015-11-20 01:49:48 UTC 
(rev 18908)
@@ -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: 
trunk/edk2/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
===================================================================
--- trunk/edk2/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c     
2015-11-20 01:46:42 UTC (rev 18907)
+++ trunk/edk2/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c     
2015-11-20 01:49:48 UTC (rev 18908)
@@ -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


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to