[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160074695008.411.12945752939427447705.b4-ty@oracle.com>
Date: Mon, 21 Sep 2020 23:57:09 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: hare@...e.de, jejb@...ux.ibm.com,
YueHaibing <yuehaibing@...wei.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] scsi: libfc: Fix passing zero to 'PTR_ERR' warning
On Wed, 9 Sep 2020 21:54:32 +0800, YueHaibing wrote:
> drivers/scsi/libfc/fc_disc.c:304
> fc_disc_error() warn: passing zero to 'PTR_ERR'
>
> fp maybe NULL in fc_disc_error(), use PTR_ERR_OR_ZERO to handle this.
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: libfc: Fix passing zero to 'PTR_ERR' warning
https://git.kernel.org/mkp/scsi/c/a9e81c2922bf
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists