]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: acornscsi: Remove scsi_cmd_to_tag() reference
authorJohn Garry <john.garry@huawei.com>
Thu, 30 Sep 2021 11:51:57 +0000 (19:51 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Oct 2021 01:54:18 +0000 (21:54 -0400)
commit726355a167a3fb07fe729e0c9d3aa20c62adc5f6
treeef3af6e3cb994e6ffb1e5dc430c1582b3fef9f2a
parent743a23962fc9dd09e16639b2b13f4cf1060d54ac
scsi: acornscsi: Remove scsi_cmd_to_tag() reference

Commit 7df1afeb6fcf ("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/1633002717-79765-1-git-send-email-john.garry@huawei.com
Fixes: 7df1afeb6fcf ("scsi: acornscsi: Remove tagged queuing vestiges")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arm/acornscsi.c