summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/ScsiLib.h10
-rw-r--r--MdePkg/Include/Protocol/ScsiIo.h2
-rw-r--r--MdePkg/Include/Protocol/ScsiPassThru.h2
-rw-r--r--MdePkg/Library/UefiScsiLib/UefiScsiLib.c10
4 files changed, 12 insertions, 12 deletions
diff --git a/MdePkg/Include/Library/ScsiLib.h b/MdePkg/Include/Library/ScsiLib.h
index 97634f6..54fb281 100644
--- a/MdePkg/Include/Library/ScsiLib.h
+++ b/MdePkg/Include/Library/ScsiLib.h
@@ -132,7 +132,7 @@ ScsiInquiryCommand (
@param[in] PageCode Page code.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -184,7 +184,7 @@ ScsiModeSense10Command (
@retval EFI_SUCCESS Valid data returned
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -226,7 +226,7 @@ ScsiRequestSenseCommand (
@param[in] PMI Partial medium indicator.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -272,7 +272,7 @@ ScsiReadCapacityCommand (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -319,7 +319,7 @@ ScsiRead10Command (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in InTransferLength.
diff --git a/MdePkg/Include/Protocol/ScsiIo.h b/MdePkg/Include/Protocol/ScsiIo.h
index 1e03705..2f94cb8 100644
--- a/MdePkg/Include/Protocol/ScsiIo.h
+++ b/MdePkg/Include/Protocol/ScsiIo.h
@@ -181,7 +181,7 @@ EFI_STATUS
HostAdapterStatus, TargetStatus,
SenseDataLength, and SenseData in that order
for additional status information.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength. See HostAdapterStatus,
diff --git a/MdePkg/Include/Protocol/ScsiPassThru.h b/MdePkg/Include/Protocol/ScsiPassThru.h
index 8860b24..d351c3e 100644
--- a/MdePkg/Include/Protocol/ScsiPassThru.h
+++ b/MdePkg/Include/Protocol/ScsiPassThru.h
@@ -105,7 +105,7 @@ typedef struct {
DataBuffer.See HostAdapterStatus, TargetStatus,
SenseDataLength,and SenseData in that order
for additional status information.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed, but the
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the
entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength. See HostAdapterStatus,
diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
index 20088d5..6bfc8cf 100644
--- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
+++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
@@ -202,7 +202,7 @@ ScsiInquiryCommand (
@param[in] PageCode Page code.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -294,7 +294,7 @@ ScsiModeSense10Command (
@retval EFI_SUCCESS Valid data returned
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -374,7 +374,7 @@ ScsiRequestSenseCommand (
@param[in] PMI Partial medium indicator.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -466,7 +466,7 @@ ScsiReadCapacityCommand (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -557,7 +557,7 @@ ScsiRead10Command (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in InTransferLength.