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
| ||
|
Date: Mon, 9 Oct 2017 01:10:12 +0900 From: Masahiro Yamada <yamada.masahiro@...ionext.com> To: linux-kernel@...r.kernel.org Cc: Thomas Gleixner <tglx@...utronix.de>, Andrew Morton <akpm@...ux-foundation.org>, Ian Abbott <abbotti@....co.uk>, Ingo Molnar <mingo@...nel.org>, Linus Torvalds <torvalds@...ux-foundation.org>, Masahiro Yamada <yamada.masahiro@...ionext.com>, Matan Barak <matanb@...lanox.com>, linux-rdma@...r.kernel.org, netdev@...r.kernel.org, Saeed Mahameed <saeedm@...lanox.com>, Leon Romanovsky <leonro@...lanox.com> Subject: [PATCH 11/12] net/mlx5: replace <linux/radix-tree.h> with <linux/radix-tree-root.h> The header include/linux/mlx5/driver.h requires the definition of struct radix_tree_root, but does not need to know anything about other radix tree stuff. Include <linux/radix-tree-root.h> instead of <linux/radix-tree.h> to reduce the number of included header files. Also, add <linux/radix-tree.h> to include/linux/mlx5/gp.h where radix tree accessors are used. Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com> --- include/linux/mlx5/driver.h | 2 +- include/linux/mlx5/qp.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 401c897..0aea568 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -40,7 +40,7 @@ #include <linux/semaphore.h> #include <linux/slab.h> #include <linux/vmalloc.h> -#include <linux/radix-tree.h> +#include <linux/radix-tree-root.h> #include <linux/workqueue.h> #include <linux/mempool.h> #include <linux/interrupt.h> diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index 66d19b6..a90996f 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -35,6 +35,7 @@ #include <linux/mlx5/device.h> #include <linux/mlx5/driver.h> +#include <linux/radix-tree.h> #define MLX5_INVALID_LKEY 0x100 #define MLX5_SIG_WQE_SIZE (MLX5_SEND_WQE_BB * 5) -- 2.7.4
Powered by blists - more mailing lists