scsi: qla1280: Stop using scsi_cmnd.tag
Use scsi_cmd_to_rq(cmd)->tag instead of scsi_cmnd.tag as preference. Link: https://lore.kernel.org/r/1629294801-32102-2-git-send-email-john.garry@huawei.com Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
cbe1f0d700
Коммит
c563c126e2
|
@ -3980,7 +3980,7 @@ __qla1280_print_scsi_cmd(struct scsi_cmnd *cmd)
|
|||
qla1280_dump_buffer(1, (char *)sg, (cmd->use_sg*sizeof(struct scatterlist)));
|
||||
} */
|
||||
printk(" tag=%d, transfersize=0x%x \n",
|
||||
cmd->tag, cmd->transfersize);
|
||||
scsi_cmd_to_rq(cmd)->tag, cmd->transfersize);
|
||||
printk(" SP=0x%p\n", CMD_SP(cmd));
|
||||
printk(" underflow size = 0x%x, direction=0x%x\n",
|
||||
cmd->underflow, cmd->sc_data_direction);
|
||||
|
|
Загрузка…
Ссылка в новой задаче