From c7a54f2560479abe75b51383940b057cac321d22 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 20 Sep 2007 09:59:05 +0000 Subject: 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 --- MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'MdePkg/Library/UefiScsiLib') diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c index 20088d5cbf..6bfc8cfc35 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. -- cgit v1.2.3