From 28dd4e5150663157260a3273d77f5fd4f0319c25 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Sat, 17 Jul 2010 13:53:41 +0000 Subject: [PATCH] Patch from Bart Van Assche fixing endianness warning reported by sparse. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1833 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 79d746ff8..1af866c5f 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -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");