Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2
+2
include/linux/virtio_features.h
··· 3 3 #define _LINUX_VIRTIO_FEATURES_H 4 4 5 5 #include <linux/bits.h> 6 + #include <linux/bug.h> 7 + #include <linux/string.h> 6 8 7 9 #define VIRTIO_FEATURES_U64S 2 8 10 #define VIRTIO_FEATURES_BITS (VIRTIO_FEATURES_U64S * 64)