[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169344360100.1293881.8692912884292085962.b4-ty@oracle.com>
Date: Wed, 30 Aug 2023 21:48:32 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
Juergen Gross <jgross@...e.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
xen-devel@...ts.xenproject.org,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH] xen/scsifront: shost_priv() can never return NULL
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
Powered by blists - more mailing lists