Received: by 10.213.84.227 with SMTP id q3csp7362imm; Fri, 4 May 2018 05:46:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrk2bUmcFgOVUZvstWUl1uwNpvWV6PJlJ9u983CdDPJZsjJTafdtjkfJTLjAkqxnUNceuw7 X-Received: by 2002:a17:902:3343:: with SMTP id a61-v6mr17527379plc.241.1525437994546; Fri, 04 May 2018 05:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525437994; cv=none; d=google.com; s=arc-20160816; b=shTXeaIYf6NDcZFdTZhVv2K471hV8kFb/S7Y8LPIXKnv5aN/nfZ+42Xetv13AyKMFJ TPaDvml4vMm1E6BbAfVeYQUZ7N1DkRls+223HJHdnvd/7BNOfC8Cl3bM1yoXVOAzCsm3 ezSGtv5AiT1z55qcivWtLkGXNPGcDToWnCi8dHavl4lm1zcdlVDRqsxzJ2NMCrh07nhY 32cuAjZYYg4KLZ7xEKgBv0BcirSQD12iWQDWTlvCKK9UwFylqcnmeoSQFQ67HQec2eMi sJ5MXlGvPpIfut+33fow9X4Rtryv31R6k5VhpulY0c1gDzVqc5P48lhKhp/836fw177E oQCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=ZQd476JLDDGnx2n3B6L8WTuwseMP4DM3LQQRXKcBb6k=; b=NwPh1KW1RzOl/rywMmB/f7sYi4hRWj+HAJBZ1/00c4MywnIkonMbcnbSDoXkAbbeF/ G8/8cJr/xtKCXu0nLGYj2Vm/DApqVbdpEpRKHzFHxpxKOJmYW5B9rtcW7QEicELbGm/N mLFg5gs5E1SQY7+YzulUnsxYPxMhJruHtoRru3R1DgeQAQwePJqiZC3H7+nTvuAgmfTE gIa/GryIZNW/Ph26Hbmdiv0/d3cplK4sjMZsAke1y1TTW1Yrby2tEaXH9BKepURTEI8Y 9rx4jtrq49PSXAbc44pDjVQm/Gjv24nV7RnacvD2pQZtSL8i4WCTSvz2Kf+SPzwWBfHg qn6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jdZX760d; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p83si16084198pfl.279.2018.05.04.05.46.15; Fri, 04 May 2018 05:46:34 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jdZX760d; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751403AbeEDMpf (ORCPT + 99 others); Fri, 4 May 2018 08:45:35 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45120 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbeEDMpe (ORCPT ); Fri, 4 May 2018 08:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZQd476JLDDGnx2n3B6L8WTuwseMP4DM3LQQRXKcBb6k=; b=jdZX760dUvLm4xIhbpJ51tORw pM2N3DbIGMyTRlk29oH738zplrVQPXV2H9byQeM8BBSSLM7JcgDBe9uIKkCFVMJzJ0jQkpMdNUPdJ 3/UXyzs+F9hxzclmpi3eypXknHGxxLw4EusTpjVwTCwtGt1le/sTx3SIArdZCnk2KRo1RLgQU+XJx GVwdkkaQhcJMeEptxp5zHERB0KDiDc9YSMh4BFIhmUca47MpGKbWt3LfW5/c15hCuTMIg9Izqa9Xe GmWCVnSqFnLZ4tDf0y1xyzqAUiN1FzR+EYOKN4CCGFfkHWJrDiexdQlcJBSSNbUSpjtp9ksPmfKpk kzKmTW4Rw==; Received: from 177.17.129.114.dynamic.adsl.gvt.net.br ([177.17.129.114] helo=vento.lan) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEa5a-0007DU-Ng; Fri, 04 May 2018 12:45:31 +0000 Date: Fri, 4 May 2018 09:45:26 -0300 From: Mauro Carvalho Chehab To: Bartlomiej Zolnierkiewicz Cc: Randy Dunlap , Anders Roxell , tomi.valkeinen@ti.com, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF Message-ID: <20180504094526.03484b2d@vento.lan> In-Reply-To: <1544113.qp318iEQvZ@amdc3058> References: <20180420112551.27027-1-anders.roxell@linaro.org> <44871995.YYHkG5ofpC@amdc3058> <20180504075906.02ecf32e@vento.lan> <1544113.qp318iEQvZ@amdc3058> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 04 May 2018 13:05:17 +0200 Bartlomiej Zolnierkiewicz escreveu: > On Friday, May 04, 2018 07:59:06 AM Mauro Carvalho Chehab wrote: > > Em Fri, 04 May 2018 12:48:46 +0200 > > Bartlomiej Zolnierkiewicz escreveu: > > =20 > > > On Thursday, May 03, 2018 08:48:56 AM Randy Dunlap wrote: =20 > > > > On 04/20/2018 04:25 AM, Anders Roxell wrote: =20 > > > > > Commit 7378f1149884 ("media: omap2: omapfb: allow building it with > > > > > COMPILE_TEST") broke compilation without CONFIG_OF selected. > > > > > CC drivers/video/fbdev/core/fbmem.o > > > > > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c: In func= tion =E2=80=98omapdss_update_prop=E2=80=99: > > > > > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c:68:2: er= ror: implicit declaration of function =E2=80=98of_update_property=E2=80=99;= did you mean =E2=80=98of_get_property=E2=80=99? [-Werror=3Dimplicit-functi= on-declaration] > > > > > of_update_property(node, prop); > > > > > ^~~~~~~~~~~~~~~~~~ > > > > > of_get_property > > > > > cc1: some warnings being treated as errors > > > > > scripts/Makefile.build:312: recipe for target 'drivers/video/fbde= v/omap2/omapfb/dss/omapdss-boot-init.o' failed > > > > > make[7]: *** [drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-i= nit.o] Error 1 > > > > > scripts/Makefile.build:559: recipe for target 'drivers/video/fbde= v/omap2/omapfb/dss' failed > > > > > make[6]: *** [drivers/video/fbdev/omap2/omapfb/dss] Error 2 > > > > > make[6]: *** Waiting for unfinished jobs.... > > > > >=20 > > > > > Add OF dependency in order to make all configurations work again. > > > > >=20 > > > > > of_update_property() has no inline stub, and that that could be a= dded as > > > > > an alternative. > > > > >=20 > > > > > Signed-off-by: Anders Roxell > > > > > --- > > > > > drivers/video/fbdev/omap2/Kconfig | 2 +- > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > >=20 > > > > > diff --git a/drivers/video/fbdev/omap2/Kconfig b/drivers/video/fb= dev/omap2/Kconfig > > > > > index 82008699d253..4de381f2452e 100644 > > > > > --- a/drivers/video/fbdev/omap2/Kconfig > > > > > +++ b/drivers/video/fbdev/omap2/Kconfig > > > > > @@ -1,4 +1,4 @@ > > > > > -if ARCH_OMAP2PLUS || COMPILE_TEST > > > > > +if OF && (ARCH_OMAP2PLUS || COMPILE_TEST) > > > > > =20 > > > > > source "drivers/video/fbdev/omap2/omapfb/Kconfig" > > > > > =20 > > > > > =20 > > > >=20 > > > > Hi, > > > >=20 > > > > This patch certainly fixes the build errors that I have been seeing= in > > > > linux-next for several days now, so: > > > >=20 > > > > Acked-by: Randy Dunlap > > > > Tested-by: Randy Dunlap =20 > > >=20 > > > Thanks. > > >=20 > > > Since there has been no follow up from Mauro on this ([1]) I guess > > > that the best thing I can do is simply merging both patches to fbdev > > > tree.. When you're saying about "both" patches, you're referring to the original one plus this fix, right? > > >=20 > > > [1] https://www.spinics.net/lists/linux-media/msg132583.html =20 > >=20 > > Sorry, it seems I missed it. If you didn't merge them yet, I'll > > merge it on my tree today, if you think it would be best to have > > it together with the patch that enabled FB_OMAP builds with > > COMPILE_TEST. =20 I know why I missed... I was not c/c at the original patch. Well, I received it at my LKML inbox, but nobody reads all LKML emails those days. >=20 > This would be best indeed, you can add my ACK: >=20 > Acked-by: Bartlomiej Zolnierkiewicz Committed. >=20 > > If you prefer, instead, feel free to merge via your tree, as this is > > FB stuff anyway. > >=20 > > If you need/want: > >=20 > > Acked-by: Mauro Carvalho Chehab =20 >=20 > BTW Could you please also comment on / ACK my patch in this thread: >=20 > https://www.spinics.net/lists/linux-media/msg132733.html Sure I will look on it in a few. I'm not rushing with that 7 patch series, as the most important thing for my workflow is to build all media drivers on i386/x86_64. Building on other archs is just a plus, as I intend some day to also incrementally do test building on arm as I receive/merge patches, but I don't do it yet. Thanks, Mauro