diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2025-12-04 12:49:34 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-12-24 08:02:56 -0500 |
| commit | e88dfb93311c81359b00c12e0b396bd0ea13ad6c (patch) | |
| tree | ac3e37ac326668f3bbdc9a8986a59e3dd5b0e9c5 /include/linux | |
| parent | cec9c5e385f6cf056365ec197433fc5448b30985 (diff) | |
virtio_features: make it self-contained
virtio_features.h uses WARN_ON_ONCE and memset so it must
include linux/bug.h and linux/string.h
Message-ID: <579986aa9b8d023844990d2a0e267382f8ad85d5.1764873799.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/virtio_features.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/virtio_features.h b/include/linux/virtio_features.h index ea2ad8717882..ce59ea91f474 100644 --- a/include/linux/virtio_features.h +++ b/include/linux/virtio_features.h @@ -3,6 +3,8 @@ #define _LINUX_VIRTIO_FEATURES_H #include <linux/bits.h> +#include <linux/bug.h> +#include <linux/string.h> #define VIRTIO_FEATURES_U64S 2 #define VIRTIO_FEATURES_BITS (VIRTIO_FEATURES_U64S * 64) |
