Thread (18 messages) 18 messages, 1 author, 2017-11-29

Lifecycle

  1. Posted Matthew Wilcox <willy@infradead.org>

[PATCH v2 01/17] idr: Fix build

From: Matthew Wilcox <willy@infradead.org>
Date: 2017-11-29 20:19:36
Subsystem: the rest, xarray · Maintainers: Linus Torvalds, Matthew Wilcox

From: Matthew Wilcox <redacted>

The IDR calls WARN_ON without including <linux/bug.h>

Signed-off-by: Matthew Wilcox <redacted>
---
 include/linux/idr.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/idr.h b/include/linux/idr.h
index 7c3a365f7e12..dd048cf456b7 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -13,6 +13,7 @@
 #define __IDR_H__
 
 #include <linux/radix-tree.h>
+#include <linux/bug.h>
 #include <linux/gfp.h>
 #include <linux/percpu.h>
 
-- 
2.15.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help