Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: scsi_transport_spi: fix function pointer check. | Date | Mon, 29 Jun 2020 23:22:34 -0400 |
| |
On Sat, 27 Jun 2020 06:32:42 -0700, trix@redhat.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
| |