Received: by 10.192.165.148 with SMTP id m20csp632855imm; Fri, 4 May 2018 03:59:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpekJt+bGVnKJWsms6YMEJpWGpj65W7GCrwn7YTREPqxv6jchjl3RDUEZWNWdiOh+uZ7+08 X-Received: by 10.98.100.2 with SMTP id y2mr13312239pfb.71.1525431585523; Fri, 04 May 2018 03:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525431585; cv=none; d=google.com; s=arc-20160816; b=RwKSytXrQELn8k+f9YLn1eBIfUlQZv1+kz8NnlXSl4svJWQE9pSWLZ7Jj6oBKMavqA CiRTVwQgdt7w6J3/0qfMawRjPK0gml081KaQBJZnzEmeO9bQcrn6rBM2exXgEZDiti1p DvOsEq09A2tkfsAVQbD/2IejEpuJrs+tJYkUKIUlFQO8q9tW3OWd1csJlKLxwXFKZtPO Lt3/riN+CS3eoEpZGacVHDta1o2D+jDhgmkjSshRcxw0Redq6ywxzigH+rup6VEtE+37 dtuXz3DTiIitMzDzmgx5ETaVgUnINM3lEDUg1oxen4oYd5c9yhUbj6VxS0j7w89jOVzM VAmQ== 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=B2gZIriAOhWDNDoiWFUkXlD6YZUBnWDYh4CoxLWHq28=; b=BYfVmJwobOKEzP+k1LVbJBUXcCoZ6QECJg9lGhHtPMCCNycrT7Uw0aB/OewRYHhKOL raOlginrtib29Xwk9kijYg8c9qFqfLc3HhjHdqUbdadfsTR3Y1OREte0zY38IRT/12jl V9CZLUlvY6MP+wd2HW3Uae4l18Fy3pxhr9qLaFJx6Tpp4bJTtXqcWaDMdXJDMq1yyF7U T1pdNwbotjLmrYOhmqnh78gNP5zOHY39eC4W4hxgB01VZLuVSkha7MWcOdusUAjGUJND SC6xqCo5jg4Z+2M5SzbozJ1ZJeqRlkOda+GjD4bvT/c9GrbgsQXmEXLJbOrPpqvMNZPa 2GiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=vAob0Z2v; 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 b6-v6si12860871pgc.166.2018.05.04.03.59.31; Fri, 04 May 2018 03:59:45 -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=vAob0Z2v; 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 S1751261AbeEDK7R (ORCPT + 99 others); Fri, 4 May 2018 06:59:17 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36522 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbeEDK7Q (ORCPT ); Fri, 4 May 2018 06:59:16 -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=B2gZIriAOhWDNDoiWFUkXlD6YZUBnWDYh4CoxLWHq28=; b=vAob0Z2vmtDfHRrRBGUZLjVtO cFMCQmjc8aAg+8lJ7KLh8MdFKzVgmUjNiCu3xJm4D1IiuLaV72SHChA0UmvKehKd3HZEPVv9tsvUb 4X97A+AymdceGrjgJrrN5jYbpICMrSFoyVIGRCXoxXEbZ/09M/jvxEmeGT3Zjrzm4P5uD+BL+5VYg kWjHBOu3FIH8OCnlu0hnqOvD3ZiwBssApctZWZd52yGINkDlYdMg36ZFdBOEYz70eXYPfrSvmCkNZ IcE6s/r9ed+1Z8SNnxhZ9y5idub5IoG9mVmIxOqSAhjdVyqmBI2c/LvggV7kQ2nDVTbmlFAEkcvLW Tx+wyKm+g==; 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 1fEYQh-0003tS-Fh; Fri, 04 May 2018 10:59:12 +0000 Date: Fri, 4 May 2018 07:59:06 -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: <20180504075906.02ecf32e@vento.lan> In-Reply-To: <44871995.YYHkG5ofpC@amdc3058> References: <20180420112551.27027-1-anders.roxell@linaro.org> <16e74acc-1265-faec-0c36-49681a7760e4@infradead.org> <44871995.YYHkG5ofpC@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 12:48:46 +0200 Bartlomiej Zolnierkiewicz escreveu: > On Thursday, May 03, 2018 08:48:56 AM Randy Dunlap wrote: > > 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 function= =E2=80=98omapdss_update_prop=E2=80=99: > > > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c:68:2: error:= 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-function-d= eclaration] > > > of_update_property(node, prop); > > > ^~~~~~~~~~~~~~~~~~ > > > of_get_property > > > cc1: some warnings being treated as errors > > > scripts/Makefile.build:312: recipe for target 'drivers/video/fbdev/om= ap2/omapfb/dss/omapdss-boot-init.o' failed > > > make[7]: *** [drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.= o] Error 1 > > > scripts/Makefile.build:559: recipe for target 'drivers/video/fbdev/om= ap2/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 added= 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/fbdev/= 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.. >=20 > [1] https://www.spinics.net/lists/linux-media/msg132583.html 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. If you prefer, instead, feel free to merge via your tree, as this is FB stuff anyway. If you need/want: Acked-by: Mauro Carvalho Chehab Thanks, Mauro