[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159348733080.22223.9799555482060499948.b4-ty@oracle.com>
Date: Mon, 29 Jun 2020 23:22:34 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: jejb@...ux.ibm.com, "trix@...hat.com" <trix@...hat.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: scsi_transport_spi: fix function pointer check.
On Sat, 27 Jun 2020 06:32:42 -0700, trix@...hat.com wrote:
> clang static analysis flags several null function pointer problems.
>
> drivers/scsi/scsi_transport_spi.c:374:1: warning: Called function pointer is null (null dereference) [core.CallAndMessage]
> spi_transport_max_attr(offset, "%d\n");
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Reviewing the store_spi_store_max macro
>
> [...]
Applied to 5.8/scsi-fixes, thanks!
[1/1] scsi: scsi_transport_spi: Fix function pointer check
https://git.kernel.org/mkp/scsi/c/5aee52c44d91
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists