Skip to content

Commit c533640

Browse files
John Garrymartinkpetersen
authored andcommitted
scsi: acornscsi: Remove scsi_cmd_to_tag() reference
Commit 756fb6a ("scsi: acornscsi: Remove tagged queuing vestiges") mistakenly introduced a reference to function scsi_cmd_to_tag(). This function does not exist as it was removed from an earlier series version when I upstreamed the named commit - originally authored By Hannes - but this reference still remained. Fix by replacing the reference to scsi_cmd_to_tag() with scsi_cmd_to_rq(scsi_scmd)->tag, which scsi_cmd_to_tag() was a wrapper for. Link: https://lore.kernel.org/r/[email protected] Fixes: 756fb6a ("scsi: acornscsi: Remove tagged queuing vestiges") Reported-by: Arnd Bergmann <[email protected]> Tested-by: Arnd Bergmann <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 79a7482 commit c533640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/arm/acornscsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ int acornscsi_reconnect_finish(AS_Host *host)
17761776
host->scsi.disconnectable = 0;
17771777
if (host->SCpnt->device->id == host->scsi.reconnected.target &&
17781778
host->SCpnt->device->lun == host->scsi.reconnected.lun &&
1779-
scsi_cmd_to_tag(host->SCpnt) == host->scsi.reconnected.tag) {
1779+
scsi_cmd_to_rq(host->SCpnt)->tag == host->scsi.reconnected.tag) {
17801780
#if (DEBUG & (DEBUG_QUEUES|DEBUG_DISCON))
17811781
DBG(host->SCpnt, printk("scsi%d.%c: reconnected",
17821782
host->host->host_no, acornscsi_target(host)));

0 commit comments

Comments
 (0)