From patchwork Sun Oct 8 16:10:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 823016 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="XDtjeQmr"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3y98114ZGkz9sPr for ; Mon, 9 Oct 2017 03:27:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432AbdJHQ11 (ORCPT ); Sun, 8 Oct 2017 12:27:27 -0400 Received: from condef-05.nifty.com ([202.248.20.70]:63751 "EHLO condef-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbdJHQ10 (ORCPT ); Sun, 8 Oct 2017 12:27:26 -0400 Received: from conuserg-08.nifty.com ([10.126.8.71])by condef-05.nifty.com with ESMTP id v98GCZ38014483; Mon, 9 Oct 2017 01:12:35 +0900 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v98GBWgU001379; Mon, 9 Oct 2017 01:11:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v98GBWgU001379 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507479102; bh=tGm/0m+c9mqZuVlqhB3H9X/WF2bWBQmWMVKSOywDh7U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XDtjeQmrF1EYO4CwvvfnyKSM+P9RUAh7Tp6KwB9bolZqLxyNqdof3z4jF/VrqObQv cdlmy8WXMKs5fzkRDNcSJHt1lovj6xUMnqAY5k5QRAuT6K+S4Kus6B4JZYhZh6PtqW a6SRSdf6qqCLYSk81d032yqCwKU2/9n96XRifJuw5x7U7BA7ewFpdUPhUUyibULbRt ZnzEjI41vfsfdhHoFpkbMSl31EZNIjWtnXjPKZpVChcRGDkvMPObwoazvAZkc3yWSR Em7ijg7mDxL+K90FSQEqJ0Wj4HVJHsd5Nw2SCXN3vuGNw/uWIG+HRbqEWzYmh36gzy ccuKpCyvvreCA== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Andrew Morton , Ian Abbott , Ingo Molnar , Linus Torvalds , Masahiro Yamada , Matan Barak , linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Saeed Mahameed , Leon Romanovsky Subject: [PATCH 11/12] net/mlx5: replace with Date: Mon, 9 Oct 2017 01:10:12 +0900 Message-Id: <1507479013-5207-12-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> References: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 instead of to reduce the number of included header files. Also, add to include/linux/mlx5/gp.h where radix tree accessors are used. Signed-off-by: Masahiro Yamada --- 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 #include #include -#include +#include #include #include #include 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 #include +#include #define MLX5_INVALID_LKEY 0x100 #define MLX5_SIG_WQE_SIZE (MLX5_SEND_WQE_BB * 5)