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: 115162 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1682822qgn; Sun, 8 Oct 2017 09:12:44 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDFsk8IbN8VDSfhycBau9AflkbDGIk2/Jozk8PF3lCcwwHf1DxS3e7vr0Pd/XIbwuFTq9mp X-Received: by 10.98.70.6 with SMTP id t6mr5745824pfa.257.1507479164034; Sun, 08 Oct 2017 09:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507479164; cv=none; d=google.com; s=arc-20160816; b=fJodMusfFIiyN6KiOJSyy73vR86QTyPjsEMzl7mzZK6L4JKOjUeJjTuttPhyO+ekMj F2sFAp6c6nA2cqKCmY6VTsmyHBA3PAJfo4BVLPCWWpYcsNGFj4CCFiqCmMTDSExccC/R qsef5O8Jf90UyhCJLqbfD07oGJGl0FotVhqnfl/KO6XnVHo1hr1ht1kJTzZaNEXK/nKR XwenJdd1clCW78rnAmo2nOvn1qN+dB5VrCeoAhMFTkEwBk9Ad6QzjJLNjYJFharR6/Y7 6y4By1OL3QFBfPacb2A2Jc10DO15DSXIO4xHZ1ctV23mZZEErRkwGWvbF/hQcJOUIFoR wWSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=tGm/0m+c9mqZuVlqhB3H9X/WF2bWBQmWMVKSOywDh7U=; b=lpBj0EGVOdPZG+jBCTOEzaXbJONHVxju5K5xJThwElbWUFqoFSGQkjAJ245OLR99Ie 6XoLq4Nv6WNlgoBfufAG7/6gMobd8VIpjaeBN05ZM5moxnPKRNfmHotXYKFHQfszO9ED 9JFTV2SGkhUrx6RVtZZLDEtxdGXwk9OJwSr2rXmAIAPcJEGkSlvpbBMUII4zf8K/9n42 s6Zzd8b8ANkvv/uJKkmaZYHP8BqVVz/2+mXade0jKX36Aj5dB06FUbdC+LjNfGoGVC2h oV9OZ1tdIuqhq79UVUVMiAFgkSQdqJVez3tpgETd412qlpt5YZ1fgELF00WsBLnFeKFS RI3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XDtjeQmr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q75si1888879pfj.449.2017.10.08.09.12.43; Sun, 08 Oct 2017 09:12:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XDtjeQmr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753727AbdJHQMi (ORCPT + 26 others); Sun, 8 Oct 2017 12:12:38 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:51080 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753644AbdJHQMe (ORCPT ); Sun, 8 Oct 2017 12:12:34 -0400 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.7.4 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)