mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
Patch from Bart Van Assche <bvanassche@acm.org> fixing endianness warning reported by sparse.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1833 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1664,7 +1664,7 @@ static int nop_out_start(struct iscsi_cmnd *cmnd)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (cmnd->pdu.bhs.itt == ISCSI_RESERVED_TAG_CPU32) {
|
||||
if (cmnd->pdu.bhs.itt == ISCSI_RESERVED_TAG) {
|
||||
if (unlikely(!(cmnd->pdu.bhs.opcode & ISCSI_OP_IMMEDIATE)))
|
||||
PRINT_ERROR("%s", "Initiator sent RESERVED tag for "
|
||||
"non-immediate Nop-Out command");
|
||||
|
||||
Reference in New Issue
Block a user