mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 02:31:27 +00:00
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 <dotanba@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user