From 956a6dca23629ef5c46f0306221f4e16ead85e04 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Tue, 7 Oct 2008 09:29:24 +0000 Subject: [PATCH] add proper modifers preceding to function arguments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6082 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/ScsiLib.h | 4 ++-- MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MdePkg/Include/Library/ScsiLib.h b/MdePkg/Include/Library/ScsiLib.h index ea671bcc98..2d4f0a43b6 100644 --- a/MdePkg/Include/Library/ScsiLib.h +++ b/MdePkg/Include/Library/ScsiLib.h @@ -46,7 +46,7 @@ @param[in] ScsiIo A pointer to SCSI IO protocol. @param[in] Timeout The length of timeout period. - @param[out] SenseData A pointer to output sense data. + @param[in] SenseData A pointer to output sense data. @param[out] SenseDataLength The length of output sense data. @param[out] HostAdapterStatus The status of Host Adapter. @param[out] TargetStatus The status of the target. @@ -74,7 +74,7 @@ EFIAPI ScsiTestUnitReadyCommand ( IN EFI_SCSI_IO_PROTOCOL *ScsiIo, IN UINT64 Timeout, - OUT VOID *SenseData, + IN VOID *SenseData, OUT UINT8 *SenseDataLength, OUT UINT8 *HostAdapterStatus, OUT UINT8 *TargetStatus diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c index 380d195d7e..65f169f4d8 100644 --- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c +++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c @@ -46,7 +46,7 @@ @param[in] ScsiIo A pointer to SCSI IO protocol. @param[in] Timeout The length of timeout period. - @param[out] SenseData A pointer to output sense data. + @param[in] SenseData A pointer to output sense data. @param[out] SenseDataLength The length of output sense data. @param[out] HostAdapterStatus The status of Host Adapter. @param[out] TargetStatus The status of the target. @@ -74,8 +74,8 @@ EFIAPI ScsiTestUnitReadyCommand ( IN EFI_SCSI_IO_PROTOCOL *ScsiIo, IN UINT64 Timeout, - IN OUT VOID *SenseData, - IN OUT UINT8 *SenseDataLength, + IN VOID *SenseData, + OUT UINT8 *SenseDataLength, OUT UINT8 *HostAdapterStatus, OUT UINT8 *TargetStatus ) @@ -177,7 +177,7 @@ ScsiInquiryCommand ( IN OUT UINT8 *SenseDataLength, OUT UINT8 *HostAdapterStatus, OUT UINT8 *TargetStatus, - IN VOID *InquiryDataBuffer, + IN OUT VOID *InquiryDataBuffer, IN OUT UINT32 *InquiryDataLength, IN BOOLEAN EnableVitalProductData ) -- 2.39.2