Change the name of local variable to prevent the following compilation warning:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 9 Jul 2008 17:32:16 +0000 (17:32 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 9 Jul 2008 17:32:16 +0000 (17:32 +0000)
/scst/trunk/iscsi-scst/kernel/iscsi.c:190:30: warning: symbol 'req'
shadows an earlier one
/scst/trunk/iscsi-scst/kernel/iscsi.c:182:29: originally declared here

Signed-off-by: Dotan Barak <dotanba@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@446 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/iscsi.c

index ecd771b..39fc5c5 100644 (file)
@@ -187,9 +187,9 @@ void cmnd_free(struct iscsi_cmnd *cmnd)
                        req->cmd_sn, be32_to_cpu(cmnd->pdu.datasize));
 
                if (unlikely(cmnd->parent_req)) {
-                       struct iscsi_scsi_cmd_hdr *req =
+                       struct iscsi_scsi_cmd_hdr *preq =
                                        cmnd_hdr(cmnd->parent_req);
-                       PRINT_CRIT_ERROR("%p %x %u", req, req->opcode, req->scb[0]);
+                       PRINT_CRIT_ERROR("%p %x %u", preq, preq->opcode, preq->scb[0]);
                }
                sBUG();
        }