Re: [PATCH] xen/scsifront: shost_priv() can never return NULL

From: Martin K. Petersen
Date: Wed Aug 30 2023 - 21:49:21 EST


On Tue, 22 Aug 2023 08:48:17 +0200, Juergen Gross wrote:

> There is no need to check whether shost_priv() returns a non-NULL
> value, as the pointer returned is just an offset to the passed in
> parameter.
>
> While at it replace an open coded shost_priv() instance.
>
>
> [...]

Applied to 6.6/scsi-queue, thanks!

[1/1] xen/scsifront: shost_priv() can never return NULL
https://git.kernel.org/mkp/scsi/c/73c7881b5066

--
Martin K. Petersen Oracle Linux Engineering