MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
The implementation of iSCSI protocol based on RFC3720.
|
||||
|
||||
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
UINT32 mDataSegPad = 0;
|
||||
|
||||
/**
|
||||
Attach the iSCSI connection to the iSCSI session.
|
||||
Attach the iSCSI connection to the iSCSI session.
|
||||
|
||||
@param[in, out] Session The iSCSI session.
|
||||
@param[in, out] Conn The iSCSI connection.
|
||||
@@ -34,7 +34,7 @@ IScsiAttatchConnection (
|
||||
}
|
||||
|
||||
/**
|
||||
Detach the iSCSI connection from the session it belongs to.
|
||||
Detach the iSCSI connection from the session it belongs to.
|
||||
|
||||
@param[in, out] Conn The iSCSI connection.
|
||||
**/
|
||||
@@ -49,7 +49,7 @@ IScsiDetatchConnection (
|
||||
}
|
||||
|
||||
/**
|
||||
Check the sequence number according to RFC3720.
|
||||
Check the sequence number according to RFC3720.
|
||||
|
||||
@param[in, out] ExpSN The currently expected sequence number.
|
||||
@param[in] NewSN The sequence number to check.
|
||||
@@ -116,7 +116,7 @@ IScsiUpdateCmdSN (
|
||||
|
||||
@retval EFI_SUCCESS The iSCSI connection is logged into the iSCSI target.
|
||||
@retval EFI_TIMEOUT Timeout happened during the login procedure.
|
||||
@retval Others Other errors as indicated.
|
||||
@retval Others Other errors as indicated.
|
||||
**/
|
||||
EFI_STATUS
|
||||
IScsiConnLogin (
|
||||
@@ -381,7 +381,7 @@ IScsiSendLoginReq (
|
||||
Receive and process the iSCSI login response.
|
||||
|
||||
@param[in] Conn The connection in the iSCSI login phase.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The iSCSI login response PDU is received and processed.
|
||||
@retval Others Other errors as indicated.
|
||||
**/
|
||||
@@ -807,7 +807,7 @@ IScsiProcessLoginRsp (
|
||||
@param[in] Data The data segment which should contain the
|
||||
TargetAddress key-value list.
|
||||
@param[in] Len Length of the data.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The target address is updated.
|
||||
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
|
||||
@retval EFI_NOT_FOUND The TargetAddress key is not found.
|
||||
@@ -1866,7 +1866,7 @@ IScsiNewScsiCmdPdu (
|
||||
if (ScsiCmd == NULL) {
|
||||
NetbufFree (PduHeader);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
Header = (ISCSI_ADDITIONAL_HEADER *) (ScsiCmd + 1);
|
||||
|
||||
ZeroMem (ScsiCmd, Length);
|
||||
@@ -2522,8 +2522,8 @@ IScsiOnNopInRcvd (
|
||||
@param[in] Lun The LUN.
|
||||
@param[in, out] Packet The request packet containing IO request, SCSI command
|
||||
buffer and buffers to read/write.
|
||||
|
||||
@retval EFI_SUCCES The SCSI command is executed and the result is updated to
|
||||
|
||||
@retval EFI_SUCCES The SCSI command is executed and the result is updated to
|
||||
the Packet.
|
||||
@retval EFI_DEVICE_ERROR Session state was not as required.
|
||||
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
|
||||
@@ -2640,7 +2640,7 @@ IScsiExecuteScsiCommand (
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto ON_EXIT;
|
||||
}
|
||||
TimeoutEvent = Conn->TimeoutEvent;
|
||||
TimeoutEvent = Conn->TimeoutEvent;
|
||||
}
|
||||
//
|
||||
// try to receive PDU from target.
|
||||
|
Reference in New Issue
Block a user