From f2c65365fda1d0dc61fa6cc2e52da9e667482a80 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 9 Jul 2008 17:32:16 +0000 Subject: [PATCH] Change the name of local variable to prevent the following compilation warning: /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 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@446 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index ecd771bf2..39fc5c5c0 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -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(); }