Re: [PATCH] scsi: scsi_transport_spi: fix function pointer check.
From: Martin K. Petersen
Date: Mon Jun 29 2020 - 23:24:44 EST
On Sat, 27 Jun 2020 06:32:42 -0700, trix@xxxxxxxxxx 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