summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiScsiLib
diff options
context:
space:
mode:
authorTian, Feng <feng.tian@intel.com>2014-04-30 03:38:05 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2014-04-30 03:38:05 +0000
commitb95eb5e097c74239abbbec38f9fde5faa1a68c98 (patch)
treec8148000c5fbdb1d391f8966b8bc17dce0859bfa /MdePkg/Library/UefiScsiLib
parent73a9e82214f3b0935c8f05efa00a0997763f7294 (diff)
downloadedk2-b95eb5e097c74239abbbec38f9fde5faa1a68c98.tar.gz
edk2-b95eb5e097c74239abbbec38f9fde5faa1a68c98.tar.bz2
edk2-b95eb5e097c74239abbbec38f9fde5faa1a68c98.zip
MdePkg/UefiScsiLib: Wrong function parameter comments in UefiScsiLib. It should be the number of transferred blocks rather than block size.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian, Feng <feng.tian@intel.com> Reviewed-by: Zeng, Star <star.zeng@intel.com> Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15492 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiScsiLib')
-rw-r--r--MdePkg/Library/UefiScsiLib/UefiScsiLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
index ff4d8da507..bd838c4ff4 100644
--- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
+++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
@@ -874,7 +874,7 @@ ScsiReadCapacity16Command (
@param[in, out] DataBuffer Read 10 command data.
@param[in, out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
- @param[in] SectorSize The sector size.
+ @param[in] SectorSize The number of contiguous logical blocks of data that shall be transferred.
@retval EFI_SUCCESS The command is executed successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the entire DataBuffer could
@@ -972,7 +972,7 @@ ScsiRead10Command (
@param[in, out] DataBuffer A pointer to a data buffer.
@param[in, out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
- @param[in] SectorSize The sector size.
+ @param[in] SectorSize The number of contiguous logical blocks of data that shall be transferred.
@retval EFI_SUCCESS The command executed successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the entire DataBuffer could
@@ -1070,7 +1070,7 @@ ScsiWrite10Command (
@param[in, out] DataBuffer Read 16 command data.
@param[in, out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
- @param[in] SectorSize The sector size.
+ @param[in] SectorSize The number of contiguous logical blocks of data that shall be transferred.
@retval EFI_SUCCESS The command executed successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the entire DataBuffer could
@@ -1168,7 +1168,7 @@ ScsiRead16Command (
@param[in, out] DataBuffer A pointer to a data buffer.
@param[in, out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
- @param[in] SectorSize The sector size.
+ @param[in] SectorSize The number of contiguous logical blocks of data that shall be transferred.
@retval EFI_SUCCESS The command is executed successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the entire DataBuffer could