Thread (3 messages) 3 messages, 3 authors, 2021-01-27

Re: [PATCH] scsi: qla2xxx: remove unnecessary NULL check

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-01-27 05:38:00
Also in: kernel-janitors

On Thu, 21 Jan 2021 09:08:41 +0300, Dan Carpenter wrote:
The list iterator can't be NULL so this check is not required.  Removing
the check silences a Smatch warning about inconsistent NULL checking.

    drivers/scsi/qla2xxx/qla_dfs.c:371 qla_dfs_tgt_counters_show()
    error: we previously assumed 'fcport' could be null (see line 372)
Applied to 5.12/scsi-queue, thanks!

[1/1] scsi: qla2xxx: remove unnecessary NULL check
      https://git.kernel.org/mkp/scsi/c/c750a9c9c59a

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help