Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3069324imm; Sun, 3 Jun 2018 18:55:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK5+pgWPR3aTzsHlvfZ5+z3NMAE65sY/QhQa42CCDrvNykoPRb3P7jEfTYq3EnlXlL1yrBL X-Received: by 2002:a65:6645:: with SMTP id z5-v6mr15903312pgv.43.1528077313778; Sun, 03 Jun 2018 18:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528077313; cv=none; d=google.com; s=arc-20160816; b=XZ+2rk5hdzAvpjYoy1aSrm3Uut8VIbO/RcRPK6ueetZTgQM2SY1A0cZpu24ZUNLCob 0hQEo/bWvBuLIJK6I9Q5fSO2c5GuOExPbTVZAS0AtbXmWG5zBzPWNHz2UZzKoVIf5LB0 30BUP8VmoYdIGBV1Cl5njj6+3eKtIbgaq6X/IG2elULQwWu+N/sssgR2KOltzYkjBEum XIeseI8PjBhjSOgiKzJ7uvs+eChGi5GZagXWsVTHnC0KFXC3G4iSO5hrCBpNeAue8uyT bX8U/elcFPE/HPjx2nwHy47G8T+QgUJAGTvazv986ARxxcxihHFqq5jM6ZaOarxCXzfR F3Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:arc-authentication-results; bh=YiirL7MattFee6Yg9iXr1EN5o5cMR2evjLFegJIzeNI=; b=o/mbqX1v1CryLz23WYjkYM3fqXzifrSrvvEeX9jFW3KdeIsiXjJ4tm+zih87cFtJja xYyc8q1zVUFxtDXp6WyGV6BC/IQ3p9qvv9XELfK3V+/VZ3uTKS5j885zxoGOnKU6f2d7 DXT+HbZGl/SO+5l3qkd2rUqiikVcQkovPbB+g/z2tunMJsOkUqftEMg3iELv26nTG/R9 nGD8Ly46AOS/TRSZ5SaVC2uM8P+ZnO4cf+3uj4i/vrEMlANN3IttrjG3++l+cSu2vIPX h8mxAYRhIgfEEBoM6hWCTaFr+yVHKeqTFrv0NM/jhpvEqr1TZwPsRJXAWIBEKuI2n+cV //HA== ARC-Authentication-Results: i=1; mx.google.com; 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 9-v6si17650842ple.104.2018.06.03.18.54.57; Sun, 03 Jun 2018 18:55:13 -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; 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 S1751585AbeFDByb convert rfc822-to-8bit (ORCPT + 99 others); Sun, 3 Jun 2018 21:54:31 -0400 Received: from mx.socionext.com ([202.248.49.38]:35203 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbeFDBya (ORCPT ); Sun, 3 Jun 2018 21:54:30 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 04 Jun 2018 10:54:28 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id F3F83180082; Mon, 4 Jun 2018 10:54:28 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Mon, 4 Jun 2018 10:54:28 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 64268402F1; Mon, 4 Jun 2018 10:54:28 +0900 (JST) Received: from DESKTOPFLNNJ4T (unknown [10.213.132.95]) by yuzu.css.socionext.com (Postfix) with ESMTP id 3991B120B02; Mon, 4 Jun 2018 10:54:28 +0900 (JST) From: "Katsuhiro Suzuki" To: "'Masahiro Yamada'" , =?utf-8?B?U3V6dWtpLCBLYXRzdWhpcm8v6Yi05pyoIOWLneWNmg==?= Cc: "Mauro Carvalho Chehab" , , "Masami Hiramatsu" , "Jassi Brar" , "linux-arm-kernel" , "Linux Kernel Mailing List" References: <20180530090946.1635-1-suzuki.katsuhiro@socionext.com> <20180530090946.1635-7-suzuki.katsuhiro@socionext.com> <005d01d3fb98$20711900$61534b00$@socionext.com> In-Reply-To: Subject: Re: [PATCH 6/8] media: uniphier: add common module of DVB adapter drivers Date: Mon, 4 Jun 2018 10:54:24 +0900 Message-ID: <005e01d3fba6$f7192700$e54b7500$@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHT9/X2UbYENkxCrkO9sDWPady0aKRMS5uAgALyEOD//3g1gIAApt9Q Content-Language: ja x-securitypolicycheck: OK by SHieldMailChecker v2.5.2 x-shieldmailcheckerpolicyversion: POLICY180220 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Yamada-san, > -----Original Message----- > From: Masahiro Yamada > Sent: Monday, June 4, 2018 9:53 AM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: Mauro Carvalho Chehab ; > linux-media@vger.kernel.org; Masami Hiramatsu ; > Jassi Brar ; linux-arm-kernel > ; Linux Kernel Mailing List > > Subject: Re: [PATCH 6/8] media: uniphier: add common module of DVB adapter drivers > > 2018-06-04 9:08 GMT+09:00 Katsuhiro Suzuki : > > Hello Yamada-san, > > > >> -----Original Message----- > >> From: Masahiro Yamada > >> Sent: Saturday, June 2, 2018 9:00 PM > >> To: Suzuki, Katsuhiro/鈴木 勝博 > >> Cc: Mauro Carvalho Chehab ; > >> linux-media@vger.kernel.org; Masami Hiramatsu ; > >> Jassi Brar ; linux-arm-kernel > >> ; Linux Kernel Mailing List > >> > >> Subject: Re: [PATCH 6/8] media: uniphier: add common module of DVB adapter drivers > >> > >> 2018-05-30 18:09 GMT+09:00 Katsuhiro Suzuki : > >> > This patch adds common module for UniPhier DVB adapter drivers > >> > that equipments tuners and demod that connected by I2C and > >> > UniPhier demux. > >> > > >> > Signed-off-by: Katsuhiro Suzuki > >> > --- > >> > drivers/media/platform/uniphier/Makefile | 5 ++ > >> > drivers/media/platform/uniphier/hsc-core.c | 8 --- > >> > .../platform/uniphier/uniphier-adapter.c | 54 +++++++++++++++++++ > >> > .../platform/uniphier/uniphier-adapter.h | 42 +++++++++++++++ > >> > 4 files changed, 101 insertions(+), 8 deletions(-) > >> > create mode 100644 drivers/media/platform/uniphier/uniphier-adapter.c > >> > create mode 100644 drivers/media/platform/uniphier/uniphier-adapter.h > >> > > >> > diff --git a/drivers/media/platform/uniphier/Makefile > >> b/drivers/media/platform/uniphier/Makefile > >> > index 0622f04d9e68..9e75ad081b77 100644 > >> > --- a/drivers/media/platform/uniphier/Makefile > >> > +++ b/drivers/media/platform/uniphier/Makefile > >> > @@ -3,3 +3,8 @@ uniphier-dvb-y += hsc-core.o hsc-ucode.o hsc-css.o hsc-ts.o > >> hsc-dma.o > >> > uniphier-dvb-$(CONFIG_DVB_UNIPHIER_LD11) += hsc-ld11.o > >> > > >> > obj-$(CONFIG_DVB_UNIPHIER) += uniphier-dvb.o > >> > + > >> > +ccflags-y += -Idrivers/media/dvb-frontends/ > >> > +ccflags-y += -Idrivers/media/tuners/ > >> > >> > >> Please add $(srctree)/ like > >> > >> ccflags-y += -I$(srctree)/drivers/media/dvb-frontends/ > >> ccflags-y += -I$(srctree)/drivers/media/tuners/ > >> > >> > >> Currently, it works $(srctree)/, > >> but I really want to rip off the build system hack. > > > > Thanks, I agree with your opinion, but other Makefiles in drivers/media use > > same hack. I don't know other way to include headers of demodulators and > > tuners... > > > > Do you have any good ideas? > > > > > > > My suggestion is to add '$(srctree)/'. > > For clarification, > > > > Bad: > > ccflags-y += -Idrivers/media/dvb-frontends/ > ccflags-y += -Idrivers/media/tuners/ > > > > Good: > > ccflags-y += -I$(srctree)/drivers/media/dvb-frontends/ > ccflags-y += -I$(srctree)/drivers/media/tuners/ > > OK, I understand. > > > > I want to fix this tree-wide, > then remove the 'addtree' from scripts/Kbuild.include > but I have not been able to find time for that. > > This is a new file, so just suggested to add '$(srctree)/' > > > > If you want to know the context: > https://patchwork.kernel.org/patch/9632347/ > Thank you, that's interesting issue... Regards, -- Katsuhiro Suzuki > > -- > Best Regards > Masahiro Yamada