[PATCH 1/3] irq/irq_sim: explicitly pull in slab.h
From: Bartosz Golaszewski
Date: Sun Mar 04 2018 - 07:11:09 EST
We're calling kfree() in the irq_sim code but slab.h is pulled in
indirectly via irq.h. Include it explicitly.
Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
---
kernel/irq/irq_sim.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/irq_sim.c b/kernel/irq/irq_sim.c
index 24caabf1a0f7..bd7dc1db6a80 100644
--- a/kernel/irq/irq_sim.c
+++ b/kernel/irq/irq_sim.c
@@ -7,6 +7,7 @@
* option) any later version.
*/
+#include <linux/slab.h>
#include <linux/irq_sim.h>
#include <linux/irq.h>
--
2.16.1