From patchwork Sun Oct 8 16:10:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115166 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1683364qgn; Sun, 8 Oct 2017 09:13:30 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC0Iv4ox8qXbyBTHvNvaGp0iRiOAZr8H9McrnkZDcLZ8/gnw0uTEbCHYwgcDTDAQ3SpAebz X-Received: by 10.98.102.142 with SMTP id s14mr7648937pfj.174.1507479210123; Sun, 08 Oct 2017 09:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507479210; cv=none; d=google.com; s=arc-20160816; b=l9GfFckVAqR7aGMadiyDFQsmBAt9Z1hElPiSNbEIZTSE5XOZNVcyQBHMSacHqvtFpU o5usT+mrn0YPyn2RZH+UWXovZNy7wTE33PXqdqs4buaXzWnJ3P9rBK7au5x0Vab2oLmb LLg3KB/aB2BAX/M90G459af1MzOE04BP89Pauz4a0X2D43lhgFWMY/v8AfcNOmce/WKt seB0+zLbJtN4TgOmoJgn0DuNVbuEUqXfXiwwr3EyFg0HUggaQm/TV2fLi4sV/v0Z5aIW ZlayZXJGT16PxQBPu4i8EDhcLtSIRoaForA9Nj0fYwRCM5ECMwTx5yNzwhKNoTj/FVJN gAZQ== 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=N0ERxXUkrpHkeaiVPmSSC3pAcj8VFzGmdk/Tn3NWkEs=; b=Clw450o4bJUCIJYVEMwCMV+7XmpCQBOd3vtbV1c/x4gymNfeA8o5R/uD10xQzyan+5 ShAHxpM7eNTFdShfFDKa6I1a7bpi4xP48r0sgKdOnyZ80UuEWypzk8UxxZlj9RAxq5nZ xrnL4PxZdHH2iH1Top0XD5sZB+XLcBxnUOMx+O0SylZjhv1qSdOwECb7Kte0U3yoQJcV GOYEEe14aZHa4RDuGlcky+90yZykryYK06j3HdXxMA+C4kIi7oqenV2Zr49HW+BhB5Ui /u9JeEv505SnbKaWr6J83Ir7/YlyLawDIfLsoiz2zV9hEK6SNteskZax47SUHELuw/Wc XX8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=03VrxzLC; 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 h185si4737060pge.146.2017.10.08.09.13.29; Sun, 08 Oct 2017 09:13:30 -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=03VrxzLC; 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 S1753845AbdJHQN1 (ORCPT + 26 others); Sun, 8 Oct 2017 12:13:27 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:51074 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753496AbdJHQMd (ORCPT ); Sun, 8 Oct 2017 12:12:33 -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 v98GBWgT001379; Mon, 9 Oct 2017 01:11:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v98GBWgT001379 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507479101; bh=N0ERxXUkrpHkeaiVPmSSC3pAcj8VFzGmdk/Tn3NWkEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=03VrxzLCE8cLP4AUWZpUwGYNrlvj74lwRR3+7SpviK5464kRVelkIibCktT6lvhhg CqUPY7waTRkRBDLQSlR8H0qQLNpityTyUmNz8sJRI3aZfNlqxSL3vaejAcQmumS+wg xAjKyLY8MgG/ax19BcionmHKeEKtobK3nm6QjQIYbORSp0aTw7XDjMN3YVKAv/09rv 3hFbzMB+phyCQg/q9ZdG0c5QVi4kJF2oZORtcRVSUpcjr4fsRHqeekJuLyvY1nwhLk eRPbK0xgDMuCKRV1Wwz/K4oGrZV2J0xfz39J5Bd7C4Qa/BeElOzbqF3sQc06+pFiLV dKANAxT73U/3A== 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 , linux-rdma@vger.kernel.org, Yishai Hadas , Tariq Toukan , netdev@vger.kernel.org Subject: [PATCH 10/12] net/mlx4: replace with Date: Mon, 9 Oct 2017 01:10:11 +0900 Message-Id: <1507479013-5207-11-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 headers - include/linux/mlx4/device.h - drivers/net/ethernet/mellanox/mlx4/mlx4.h require the definition of struct radix_tree_root, but do not need to know anything about other radix tree stuff. Include instead of to reduce the header dependency. While we are here, let's add missing where radix tree accessors are used. Signed-off-by: Masahiro Yamada --- drivers/net/ethernet/mellanox/mlx4/cq.c | 1 + drivers/net/ethernet/mellanox/mlx4/mlx4.h | 2 +- drivers/net/ethernet/mellanox/mlx4/qp.c | 1 + drivers/net/ethernet/mellanox/mlx4/srq.c | 1 + include/linux/mlx4/device.h | 2 +- include/linux/mlx4/qp.h | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/net/ethernet/mellanox/mlx4/cq.c b/drivers/net/ethernet/mellanox/mlx4/cq.c index 72eb50c..4cbe65c 100644 --- a/drivers/net/ethernet/mellanox/mlx4/cq.c +++ b/drivers/net/ethernet/mellanox/mlx4/cq.c @@ -36,6 +36,7 @@ #include #include +#include #include #include diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index c68da19..975ef70 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h @@ -38,7 +38,7 @@ #define MLX4_H #include -#include +#include #include #include #include diff --git a/drivers/net/ethernet/mellanox/mlx4/qp.c b/drivers/net/ethernet/mellanox/mlx4/qp.c index 728a2fb..50cbc62 100644 --- a/drivers/net/ethernet/mellanox/mlx4/qp.c +++ b/drivers/net/ethernet/mellanox/mlx4/qp.c @@ -35,6 +35,7 @@ #include #include +#include #include #include diff --git a/drivers/net/ethernet/mellanox/mlx4/srq.c b/drivers/net/ethernet/mellanox/mlx4/srq.c index bedf521..4201a46 100644 --- a/drivers/net/ethernet/mellanox/mlx4/srq.c +++ b/drivers/net/ethernet/mellanox/mlx4/srq.c @@ -36,6 +36,7 @@ #include #include #include +#include #include "mlx4.h" #include "icm.h" diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index b0a57e0..75eac23 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h index 8e2828d..dfa7d8e 100644 --- a/include/linux/mlx4/qp.h +++ b/include/linux/mlx4/qp.h @@ -35,6 +35,7 @@ #include #include +#include #include