Re: [PATCH v6 05/46] virtio: assert 32 bit features in transports

From: Cornelia Huck
Date: Fri Nov 28 2014 - 07:50:57 EST


On Thu, 27 Nov 2014 22:08:02 +0200
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> At this point, no transports set any of the high 32 feature bits.
> Since transports generally can't (yet) cope with such bits, add BUG_ON
> checks to make sure they are not set by mistake.
>
> Based on rproc patch by Rusty.
>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> drivers/lguest/lguest_device.c | 3 +++
> drivers/misc/mic/card/mic_virtio.c | 3 +++
> drivers/remoteproc/remoteproc_virtio.c | 3 +++
> drivers/s390/kvm/kvm_virtio.c | 3 +++
> drivers/s390/kvm/virtio_ccw.c | 3 +++
> drivers/virtio/virtio_mmio.c | 3 +++
> drivers/virtio/virtio_pci.c | 3 +++
> 7 files changed, 21 insertions(+)

Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/