lkml.org 
[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] irq/irq_sim: explicitly pull in slab.h
Date
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@bgdev.pl>
---
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
\
 
 \ /
  Last update: 2017-10-05 14:46    [W:0.090 / U:4.216 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site