summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-20 09:59:05 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-20 09:59:05 +0000
commitc7a54f2560479abe75b51383940b057cac321d22 (patch)
treec65a65967e77de7668b33004f4cc0c83f70b12bc /MdePkg/Include/Protocol
parentdfa235c55bb01796f78714297f25ee5c124a6a79 (diff)
downloadedk2-c7a54f2560479abe75b51383940b057cac321d22.tar.gz
edk2-c7a54f2560479abe75b51383940b057cac321d22.tar.bz2
edk2-c7a54f2560479abe75b51383940b057cac321d22.zip
Fix invalid return status to sync with newest UEFI spec 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3900 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol')
-rw-r--r--MdePkg/Include/Protocol/ScsiIo.h2
-rw-r--r--MdePkg/Include/Protocol/ScsiPassThru.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/ScsiIo.h b/MdePkg/Include/Protocol/ScsiIo.h
index 1e03705906..2f94cb8f14 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 8860b24e40..d351c3eceb 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,