lists.openwall.net   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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 25 Sep 2018 13:30:20 +0100
From:   Jean-Philippe Brucker <jean-philippe.brucker@....com>
To:     willy@...radead.org, jgg@...lanox.com, linux-kernel@...r.kernel.org
Subject: [PATCH] IDR: Add missing XArray include

IDR now exposes the XArray lock to users, and relies on the xa_* macros
defined in xarray.h. Include this header in idr.h.

Fixes: 3c60e868c31e ("IDR: Expose the XArray lock")
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@....com>
---
 include/linux/idr.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/idr.h b/include/linux/idr.h
index 3ec8628ce17f..3b835bf492ab 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/xarray.h>
 
 struct idr {
 	struct radix_tree_root	idr_rt;
-- 
2.18.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ