linux-next: build warning after merge of the scsi-mkp tree
Hi Martin,
After merging the scsi-mkp tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
drivers/scsi/hpsa.c: In function 'hpsa_free_irqs':drivers/scsi/hpsa.c:8223:40: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
free_irq(pci_irq_vector(h->pdev, 0), &h->q[i]);
^Introduced by commit
bc2bb1543e62 ("scsi: hpsa: use pci_alloc_irq_vectors and automatic irq affinity")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 8 lines · Stephen Rothwell
Hi Martin,
After merging the scsi-mkp tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
drivers/scsi/hpsa.c: In function 'hpsa_free_irqs':drivers/scsi/hpsa.c:8223:40: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
free_irq(pci_irq_vector(h->pdev, 0), &h->q[i]);
The i here shold be h->intr_mode, I'll send a fix in a bit.