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

From: Stephen Rothwell
Date: Wed Nov 24 2021 - 20:56:57 EST


Hi all,

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

net/vmw_vsock/virtio_transport.c:734:3: error: 'struct virtio_driver' has no member named 'suppress_used_validation'
734 | .suppress_used_validation = true,
| ^~~~~~~~~~~~~~~~~~~~~~~~
net/vmw_vsock/virtio_transport.c:734:30: error: initialization of 'const unsigned int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
734 | .suppress_used_validation = true,
| ^~~~
net/vmw_vsock/virtio_transport.c:734:30: note: (near initialization for 'virtio_vsock_driver.feature_table_legacy')

Caused by commit

f124034faa91 ("Revert "virtio_ring: validate used buffer length"")

interacting with commit

f7a36b03a732 ("vsock/virtio: suppress used length validation")

from the net tree.

I have reverted commit f7a36b03a732 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpnqoQetLCWg.pgp
Description: OpenPGP digital signature