Skip to contentSkip to conversation

linux-next: build failure after merge of the vhost tree

DISCUSSION Stephen Rothwell 1 participant 1 message May 7, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the vhost tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/net/virtio_net.c: In function 'try_fill_recv':
drivers/net/virtio_net.c:1250:3: error: too few arguments to function 'u64_stats_update_end_irqrestore'

 1250 |   u64_stats_update_end_irqrestore(&rq->stats.syncp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from include/net/snmp.h:47,
from include/net/netns/mib.h:5,
from include/net/net_namespace.h:17,
from include/linux/netdevice.h:38,
from drivers/net/virtio_net.c:7:
include/linux/u64_stats_sync.h:149:1: note: declared here
149 | u64_stats_update_end_irqrestore(struct u64_stats_sync *syncp,

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

fa74db4261e1 ("virtio_net: fix lockdep warning on 32 bit")

I have used the version of the vhost tree from next-20200505.

Signature · 2 lines
Cheers,
Stephen Rothwell