From 5d7bc67e73c118b0a0f9a11e9ae933df19bedb05 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 20 Nov 2015 01:49:48 +0000 Subject: MdePkg SerialPortLib: Fix typo in SerialPortWrite() The "read" word in SerialPortWrite() header comment block should be "write". Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Michael D Kinney git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18908 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/SerialPortLib.h | 4 ++-- MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c | 4 ++-- 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.
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
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.
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
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 -- cgit v1.2.3