[PATCH 1/3] irq/irq_sim: explicitly pull in slab.h

From: Bartosz Golaszewski
Date: Thu Oct 05 2017 - 08:45:31 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.13.2