On Mon, 30 Nov 2020 10:12:26 -0800, James Smart wrote: > smatch correctly called out a logic error with accessing a pointer after > checking it for null. > drivers/scsi/lpfc/lpfc_els.c:2043 lpfc_cmpl_els_plogi() > error: we previously assumed 'ndlp' could be null (see line 1942) > > Adjust the exit point to avoid the trace printf ndlp reference. A trace > entry was already generated when the ndlp was checked for null. Applied to 5.11/scsi-queue, thanks! [1/1] lpfc: Correct null ndlp reference on routine exit https://git.kernel.org/mkp/scsi/c/9d8de441db26 -- Martin K. Petersen Oracle Linux Engineering