projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bbc2b6
)
virtio-rng: pull in slab.h
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 7 Apr 2020 00:37:55 +0000
(20:37 -0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 17 Apr 2020 10:05:29 +0000
(06:05 -0400)
In preparation to virtio header changes, include slab.h directly as
this module is using it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/char/hw_random/virtio-rng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/virtio-rng.c
b/drivers/char/hw_random/virtio-rng.c
index 718d8c0876506c59e4d05b7ccc5ef950e431ed19..79a6e47b5fbc9f20a5529620eee384b42842283a 100644
(file)
--- a/
drivers/char/hw_random/virtio-rng.c
+++ b/
drivers/char/hw_random/virtio-rng.c
@@
-11,6
+11,7
@@
#include <linux/virtio.h>
#include <linux/virtio_rng.h>
#include <linux/module.h>
+#include <linux/slab.h>
static DEFINE_IDA(rng_index_ida);