lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Nov 2017 21:55:17 +0800
From:   Wei Wang <>
Subject: [PATCH v18 01/10] idr: add #include <linux/bug.h>

The <linux/bug.h> was removed from radix-tree.h by the following commit:

Since that commit, tools/testing/radix-tree/ couldn't pass compilation
due to: tools/testing/radix-tree/idr.c:17: undefined reference to
WARN_ON_ONCE. This patch adds the bug.h header to idr.h to solve the

Signed-off-by: Wei Wang <>
Cc: Matthew Wilcox <>
Cc: Andrew Morton <>
Cc: Jan Kara <>
Cc: Eric Biggers <>
Cc: Tejun Heo <>
Cc: Masahiro Yamada <>
 include/linux/idr.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/idr.h b/include/linux/idr.h
index 7c3a365..fa14f83 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -15,6 +15,7 @@
 #include <linux/radix-tree.h>
 #include <linux/gfp.h>
 #include <linux/percpu.h>
+#include <linux/bug.h>
 struct idr {
 	struct radix_tree_root	idr_rt;

Powered by blists - more mailing lists