From 3ca717ef4aa89786dcf663e18da555980ab7bc76 Mon Sep 17 00:00:00 2001 From: wangyongrong Date: Wed, 24 Apr 2024 16:27:50 +0800 Subject: [PATCH] rpmsg_virtio_ivshmem.c: fix VIRTIO_RPMSG_F_BUFSZ not used caused restart err Signed-off-by: wangyongrong --- drivers/rpmsg/rpmsg_virtio_ivshmem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rpmsg/rpmsg_virtio_ivshmem.c b/drivers/rpmsg/rpmsg_virtio_ivshmem.c index ac2c567aa4..32b5271c0e 100644 --- a/drivers/rpmsg/rpmsg_virtio_ivshmem.c +++ b/drivers/rpmsg/rpmsg_virtio_ivshmem.c @@ -149,8 +149,7 @@ rpmsg_virtio_ivshmem_get_resource(FAR struct rpmsg_virtio_s *dev) memset(priv->shmem, 0, priv->shmem_size); rsc->rpmsg_vdev.id = VIRTIO_ID_RPMSG; rsc->rpmsg_vdev.dfeatures = 1 << VIRTIO_RPMSG_F_NS | - 1 << VIRTIO_RPMSG_F_ACK | - 1 << VIRTIO_RPMSG_F_BUFSZ; + 1 << VIRTIO_RPMSG_F_ACK; rsc->rpmsg_vdev.config_len = sizeof(struct fw_rsc_config); rsc->rpmsg_vdev.num_of_vrings = 2; rsc->rpmsg_vring0.da = 0;