From 02018760ca5eaeb5676a86784d724599369d5b52 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 20 Nov 2015 01:51:15 +0000 Subject: [PATCH] MdeModulePkg BaseSerialPortLib16550: 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@18910 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c index 3209115a3f..5b6608d400 100644 --- a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c +++ b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c @@ -574,7 +574,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 -- 2.39.2