Re: [PATCH] scsi: acornscsi: Remove scsi_cmd_to_tag() reference
From: Arnd Bergmann
Date: Thu Sep 30 2021 - 08:11:24 EST
On Thu, Sep 30, 2021 at 1:51 PM John Garry <john.garry@xxxxxxxxxx> wrote:
>
> Commit 756fb6a895afb ("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.
>
> Fixes: 756fb6a895afb ("scsi: acornscsi: Remove tagged queuing vestiges")
> Reported-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
Thanks, that fixes the build regression and looks sensible.
Tested-by: Arnd Bergmann <arnd@xxxxxxxx>