Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Nov 15, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

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

In file included from drivers/net/ethernet/ibm/ibmvnic.c:52:0:
drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_open':
include/linux/dma-mapping.h:571:2: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized]
debug_dma_mapping_error(dev, dma_addr);
^
drivers/net/ethernet/ibm/ibmvnic.c:852:13: note: 'dma_addr' was declared here

  dma_addr_t dma_addr;
             ^

Introduced by commit

4e6759be28e4 ("ibmvnic: Feature implementation of Vital Product Data (VPD) for the ibmvnic driver")

Signature · 2 lines
Cheers,
Stephen Rothwell