Re: [PATCH] scsi: ibmvfc: Fix use of uninitialized rport in ibmvfc_do_work()

"Martin K. Petersen (Oracle)" <[email protected]>
Newsgroups org.kernel.vger.linux-scsi,dev.linux.lists.llvm,org.kernel.vger.linux-kernel,org.ozlabs.lists.linuxppc-dev
Message-ID <178775714066.3862282.8143552367405042697.b4-ty@b4>
On Mon, 17 Aug 2026 12:04:55 -0700, Nathan Chancellor wrote:

> After commit 696d1cc2aaa2 ("scsi: ibmvfc: process NVMe/FC rports in work
> thread"), clang warns (or errors with CONFIG_WERROR=y / W=e):
> 
>   drivers/scsi/ibmvscsi/ibmvfc-core.c:6154:15: error: variable 'rport' is uninitialized when used here [-Werror,-Wuninitialized]
>    6154 |                         } else if (rport && tgt->action == IBMVFC_TGT_ACTION_DEL_AND_LOGOUT_RPORT) {
>         |                                    ^~~~~
> 
> [...]

Applied to 7.3/scsi-queue, thanks!

[1/1] scsi: ibmvfc: Fix use of uninitialized rport in ibmvfc_do_work()
      https://git.kernel.org/mkp/scsi/c/b79b88b655a8

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.