Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Jun 1, 2022 – Jun 2, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/virtio/virtio_ring.c: In function 'virtqueue_add':
drivers/virtio/virtio_ring.c:1783:16: error: 'vq' undeclared (first use in this function); did you mean '_vq'?

 1783 |         return vq->packed_ring ? virtqueue_add_packed(_vq, sgs, total_sg,
      |                ^~
      |                _vq
drivers/virtio/virtio_ring.c:1783:16: note: each undeclared identifier is reported only once for each function it appears in
drivers/virtio/virtio_ring.c:1787:1: error: control reaches end of non-void function [-Werror=return-type]
 1787 | }
      | ^

Caused by commit

a50f09346a34 ("virtio_ring: remove unused variable in virtqueue_add()")

I am sorry, but I expect better review and build testing than this :-(

I have used the vhost tree from next-20220531 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

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

drivers/virtio/virtio_ring.c: In function 'virtqueue_add':
drivers/virtio/virtio_ring.c:1783:16: error: 'vq' undeclared (first use in this function); did you mean '_vq'?

 1783 |         return vq->packed_ring ? virtqueue_add_packed(_vq, sgs, total_sg,
      |                ^~
      |                _vq
drivers/virtio/virtio_ring.c:1783:16: note: each undeclared identifier is reported only once for each function it appears in
drivers/virtio/virtio_ring.c:1787:1: error: control reaches end of non-void function [-Werror=return-type]
 1787 | }
      | ^
Quoted 7 lines

Caused by commit

a50f09346a34 ("virtio_ring: remove unused variable in virtqueue_add()")

I am sorry, but I expect better review and build testing than this :-(

I have used the vhost tree from next-20220531 for today.

Indeed, pushed a wrong tree :(
I hope I pushed the correct one now, pls let me know whether this is now fixed. Thanks!

Signature · 1 line
MST
#2 lore raw

Hi Michael,

Quoted 3 lines · On Wed, 1 Jun 2022 17:57:12 -0400 "Michael S. Tsirkin" <[email protected]> wrote:

Indeed, pushed a wrong tree :(
I hope I pushed the correct one now, pls let me know whether this is now fixed.

Looks good here, thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell