linux-next: build warning after merge of the scsi tree
From: Stephen Rothwell
Date: Fri Oct 19 2018 - 00:50:46 EST
Hi James,
After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_nodelist_open':
drivers/scsi/lpfc/lpfc_debugfs.c:706:17: warning: 'nrport' may be used uninitialized in this function [-Wmaybe-uninitialized]
switch (nrport->port_state) {
~~~~~~^~~~~~~~~~~~
drivers/scsi/lpfc/lpfc_debugfs.c:553:30: note: 'nrport' was declared here
struct nvme_fc_remote_port *nrport;
^~~~~~
I am not sure where this has come from :-(
--
Cheers,
Stephen Rothwell
Attachment:
pgpp8npB9ka0C.pgp
Description: OpenPGP digital signature