]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg SerialPortLib: Fix typo in SerialPortWrite()
authorStar Zeng <star.zeng@intel.com>
Fri, 20 Nov 2015 01:49:48 +0000 (01:49 +0000)
committerlzeng14 <lzeng14@Edk2>
Fri, 20 Nov 2015 01:49:48 +0000 (01:49 +0000)
The "read" word in SerialPortWrite() header comment block should be
"write".

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18908 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/SerialPortLib.h
MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c

index 8f957864d8582202c1f1886734aabe78cf8d4c66..1b129a71c1d8fbff262943f6e631ab6cdbbeeafd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This library class provides common serial I/O port functions.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -46,7 +46,7 @@ SerialPortInitialize (
 \r
   @retval 0                NumberOfBytes is 0.\r
   @retval >0               The number of bytes written to the serial device.  \r
-                           If this value is less than NumberOfBytes, then the read operation failed.\r
+                           If this value is less than NumberOfBytes, then the write operation failed.\r
 \r
 **/\r
 UINTN\r
index d44fa523c2d89f1b2251f55ea7963954255f84c2..72ae23815b374baf70fccb722c341edb9b1be350 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Null Serial Port library instance with empty functions.\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -50,7 +50,7 @@ SerialPortInitialize (
 \r
   @retval 0                NumberOfBytes is 0.\r
   @retval >0               The number of bytes written to the serial device.  \r
-                           If this value is less than NumberOfBytes, then the read operation failed.\r
+                           If this value is less than NumberOfBytes, then the write operation failed.\r
 \r
 **/\r
 UINTN\r