From patchwork Wed Jan 30 02:52:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 157022 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5411957jaa; Tue, 29 Jan 2019 18:53:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN7xOppo59l31+dVxRNWU4WFMQtaMgqpGAIV983gtlXLiCmkVvkmHUunvSoDI3DtJl+IwL/h X-Received: by 2002:a17:902:bf0c:: with SMTP id bi12mr28898641plb.0.1548816783696; Tue, 29 Jan 2019 18:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548816783; cv=none; d=google.com; s=arc-20160816; b=YSDwTEqdSRGawQ/nxji84wLOSbEaCdc9qiR5b8xvFkXQt9osYXh0RF+ke74uVNpQl9 aXvXP+d36DkLrX8HdRWYTat+3Ppe3ZOI+N0i1vbSzEoSch3/IpWiWGuGpq8AZws/D2Q9 Cal/WVuV39aRueOji1SQgRcVXYfJB7CEXgKMGk0hx8IjQhT92Vh5NL3+saMt2gPDOTEC 65+cMEfR5xk6E65QWmp8MNUek+ViekliOqt5DtQqu/dbCqhQxXoIl8aKFPz0LMZIBze5 SKu90WXGlP8xIklzZQiJbMQkFYJKZf49tkUb5skwXRn4wPlEZFjK/jxK5B7RmKjzyp3G nd7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Fsl0b9ILMorAgdpOupfUdtF7TOBg5LutAIvosXM0TfE=; b=PuDReLQGRjNAQW+kVi0gNK+1qyyUe6AbhO+ap+gF4pNiWaEBd+ZUNgHt/N1Q0L4lsf 2fcKYdC/NICytM2ng2b5fFBWwFuTIgV5vZbGBW+rg8Gw4EmPb/Rb2wps2pNIV1lsjork 5S94qp0rItFvvDCOM93P7UGOeD04JAxJtd1AcMz2cQ9kSc1p6sEfCytO3ayQZ5ddHHjv dfF1784CtSvx693FzaAfh2t1qifOQ9k57cBxoqhtPP4KQx59vLPEi9FBJKBBCd0yVVuj onrG6eLZ/m0uoLY0hS54Ylr5L1wcA/Kbk8WArH1uvp3+avJTZ5n5pThEWUOFfbglZphL dGzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=RtCcN3Sl; 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 k91si254165pld.283.2019.01.29.18.53.03; Tue, 29 Jan 2019 18:53:03 -0800 (PST) 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=RtCcN3Sl; 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 S1729973AbfA3CxB (ORCPT + 31 others); Tue, 29 Jan 2019 21:53:01 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:37479 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728190AbfA3CxB (ORCPT ); Tue, 29 Jan 2019 21:53:01 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id x0U2qeQ1006032; Wed, 30 Jan 2019 11:52:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x0U2qeQ1006032 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548816760; bh=Fsl0b9ILMorAgdpOupfUdtF7TOBg5LutAIvosXM0TfE=; h=From:To:Cc:Subject:Date:From; b=RtCcN3SlPlJRluJqWPGcPangiGjkdZjNVZ35ONETuvfSlKDYDYVut2y0rkzUj4i+G J91vJqKNGRtHUlJ8O2qkj4z/Ixnpbyu2BwNSIInCFbmpzDEIjg+CrADJ7pDeDJneOp jENogke4txqRXvV8e+vOaBVa6hv+vaTPeAuSbpGAbrH/+IdB6Sot3Pw8bhvrVH3txU dwv8vXcJt/g7RH/kNpkHmh9bPqclcUATLzsLtWRkMCooY1RFVNKczu+JddBuee9f1+ xJRr8tsY1B7MELub5t22OquT3uCe7Lbhb30qrSbCllENTIjPDfJmCNgTRl/TLaEHH6 M2y/WdgtPAZeg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Alex Williamson , kvm@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Eric Auger Subject: [PATCH] vfio: platform: reset: fix up include directives to remove ccflags-y Date: Wed, 30 Jan 2019 11:52:31 +0900 Message-Id: <1548816751-32068-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For the include directive with double-quotes "", the preprocessor searches the header in the relative path to the current file. Fix them up, and remove the header search path option. Signed-off-by: Masahiro Yamada --- drivers/vfio/platform/reset/Makefile | 2 -- drivers/vfio/platform/reset/vfio_platform_amdxgbe.c | 2 +- drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c | 2 +- drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) -- 2.7.4 Acked-by: Eric Auger diff --git a/drivers/vfio/platform/reset/Makefile b/drivers/vfio/platform/reset/Makefile index 57abd4f..7294c5e 100644 --- a/drivers/vfio/platform/reset/Makefile +++ b/drivers/vfio/platform/reset/Makefile @@ -2,8 +2,6 @@ vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o vfio-platform-amdxgbe-y := vfio_platform_amdxgbe.o -ccflags-y += -Idrivers/vfio/platform - obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o obj-$(CONFIG_VFIO_PLATFORM_AMDXGBE_RESET) += vfio-platform-amdxgbe.o obj-$(CONFIG_VFIO_PLATFORM_BCMFLEXRM_RESET) += vfio_platform_bcmflexrm.o diff --git a/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c b/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c index bcd419c..3ddb270 100644 --- a/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c +++ b/drivers/vfio/platform/reset/vfio_platform_amdxgbe.c @@ -25,7 +25,7 @@ #include #include -#include "vfio_platform_private.h" +#include "../vfio_platform_private.h" #define DMA_MR 0x3000 #define MAC_VR 0x0110 diff --git a/drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c b/drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c index d45c3be..16165a6 100644 --- a/drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c +++ b/drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c @@ -23,7 +23,7 @@ #include #include -#include "vfio_platform_private.h" +#include "../vfio_platform_private.h" /* FlexRM configuration */ #define RING_REGS_SIZE 0x10000 diff --git a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c index 49e5df6..e0356de 100644 --- a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c +++ b/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c @@ -24,7 +24,7 @@ #include #include -#include "vfio_platform_private.h" +#include "../vfio_platform_private.h" #define DRIVER_VERSION "0.1" #define DRIVER_AUTHOR "Eric Auger "