Skip to content

Commit b69df6c

Browse files
committed
virtio-rng: pull in slab.h
In preparation to virtio header changes, include slab.h directly as this module is using it. Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 6bbc2b6 commit b69df6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/hw_random/virtio-rng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <linux/virtio.h>
1212
#include <linux/virtio_rng.h>
1313
#include <linux/module.h>
14+
#include <linux/slab.h>
1415

1516
static DEFINE_IDA(rng_index_ida);
1617

0 commit comments

Comments
 (0)