linux-next: build warning after merge of the scsi tree

From: Stephen Rothwell
Date: Wed Nov 06 2019 - 23:06:10 EST


Hi all,

After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_cpumask_of_node_init':
drivers/scsi/lpfc/lpfc_init.c:6020:6: warning: the address of 'cpu_all_bits' will always evaluate as 'true' [-Waddress]
6020 | if (!cpumask_of_node(numa_node))
| ^

Introduced by commit

dcaa21367938 ("scsi: lpfc: Change default IRQ model on AMD architectures")

--
Cheers,
Stephen Rothwell

Attachment: pgpPzoGbZrVt5.pgp
Description: OpenPGP digital signature