summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-11-30 03:14:14 +0000
committervanjeff <vanjeff@Edk2>2015-11-30 03:14:14 +0000
commit960da7f74c795d4ac26732a944aeb0d71915c4b6 (patch)
treef3a03069ae003b478ab24788c615b7a822ab915e /MdePkg
parent564fc1ffa38b802c553039292b1d74d2dd6f485e (diff)
downloadedk2-platforms-960da7f74c795d4ac26732a944aeb0d71915c4b6.tar.xz
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 <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/branches/UDK2015@19009 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/SerialPortLib.h4
-rw-r--r--MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Include/Library/SerialPortLib.h b/MdePkg/Include/Library/SerialPortLib.h
index 8f957864d8..1b129a71c1 100644
--- a/MdePkg/Include/Library/SerialPortLib.h
+++ b/MdePkg/Include/Library/SerialPortLib.h
@@ -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 @@ SerialPortInitialize (
@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
diff --git a/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c b/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
index d44fa523c2..72ae23815b 100644
--- a/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
+++ b/MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c
@@ -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 @@ SerialPortInitialize (
@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