From 4df7975ab11bcb8f2eb8f6ac2bc8f2c14b6f4d60 Mon Sep 17 00:00:00 2001 From: Yongrong Wang Date: Tue, 8 Oct 2024 10:32:40 +0800 Subject: [PATCH] openamp/virtio.h: update vdev->features set vdev->features in virtio_negotiate_features Signed-off-by: Yongrong Wang --- lib/include/openamp/virtio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/include/openamp/virtio.h b/lib/include/openamp/virtio.h index c4d4927..983228c 100644 --- a/lib/include/openamp/virtio.h +++ b/lib/include/openamp/virtio.h @@ -475,6 +475,7 @@ static inline int virtio_negotiate_features(struct virtio_device *vdev, return -ENXIO; *final_features = vdev->func->negotiate_features(vdev, features); + vdev->features = *final_features; return 0; }