mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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>
This commit is contained in:
parent
cec9c5e385
commit
e88dfb9331
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue