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

From: Bart Van Assche
Date: Thu Nov 07 2019 - 10:51:15 EST


On 11/6/19 8:01 PM, Stephen Rothwell wrote:
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")

Thanks Stephen for this report. A candidate fix has been posted: https://lore.kernel.org/linux-scsi/20191107052158.25788-6-bvanassche@xxxxxxx/T/#u

Bart.