On Tue, 12 May 2020 21:39:43 -0400, Douglas Gilbert wrote: > This patch is in response to a static analyser report from Dan Carpenter > titled: "[bug report] scsi: scsi_debug: Add per_host_store option". > This code may not clear the static analyzer reports, but may shed light > on why they occur. Amongst other things this driver has a table driven > SCSI command parser which also involves some C code. There are some > invariants between the table entries and the corresponding C code (i.e. > the resp_*() functions) that, if broken, may lead to a NULL dereference. > And the report is valid, at least in the case of the PRE-FETCH command. > Alas, that is not one of the cases that the static analyzer reported. > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: scsi_debug: Parser tables and code interaction https://git.kernel.org/mkp/scsi/c/b6ff8ca73350 -- Martin K. Petersen Oracle Linux Engineering