Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2633827ybh; Mon, 9 Mar 2020 09:48:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuva3xf5wv8rIEnziiwp+uL4ZY/JjzPEPUn7Luq070ifSXY72UT8RrYExMWAo/6tDPQ/ERT X-Received: by 2002:aca:c552:: with SMTP id v79mr149321oif.156.1583772483271; Mon, 09 Mar 2020 09:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583772483; cv=none; d=google.com; s=arc-20160816; b=O6/7sa83dQIfoI5GR3KuebhTTQ4VXiIkVQr3u7AFOuEvpIdxbPoqhnnUgn8/7vMPIN V/zBlHcx0vrAlvcJYH2QExTMHgkgCuiuH9iyJIY4x6kODlqaMz79Q2pBIxqraThIvgJ9 nqF/gyKmMdqISvqMZvqbeBiyLBcoXCbTId8r46avpB5wFpEdJJvxNDplsaME9GBVLLsM H/xaA4N68moeRE2yA5INiM2xePBA+nIUyf1zA1ZxascflgyELuk+VGFr+arGPP4EtR31 dW508TCBbrAaxtG0UJ67eVYvvZ2tbalOUN7SSqwELJAKHZy01lniCLzpky9ClpiarDYK OXrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qF2fMdzfnmAA3ZFcW6g8imrjZa3paKgYLDskIBArxu0=; b=0HzL1hD00DgYJEgHP4ZhoRVbE1slcJCTtZgbR5tyICc1wxVFckUPkL+UOCEn2uS07b Z9M1saOXt1ZXk5oG9cI+wajNKuO2IkiHZJ1IA+2pqABBUpoDAAkOACdr8j69hMoHGdwm nH33YaeDJSgCliyscsS4Eh7vrFnPH9H324YNEQWp4aE+spoLMN2V7i+WC7g/ZhMdg8wL 2ABYR9LbKfEjglBUP78bkpxTEdIJlrpKYaAuMU730WTdYDnFZlJGZMXmvOos6uGUQZC5 GLodhjzUPs4i0q4M7EDkkAKj9rRguG3oUeGDxc+iKlxZJ8t4XZLTTI4YAlLSBsecljyE 3pGA== 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 i18si6379869otk.245.2020.03.09.09.47.50; Mon, 09 Mar 2020 09:48:03 -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 S1727195AbgCIQrQ (ORCPT + 99 others); Mon, 9 Mar 2020 12:47:16 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:34731 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727083AbgCIQrQ (ORCPT ); Mon, 9 Mar 2020 12:47:16 -0400 X-Originating-IP: 86.202.105.35 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9AEAFE0002; Mon, 9 Mar 2020 16:47:05 +0000 (UTC) Date: Mon, 9 Mar 2020 17:47:05 +0100 From: Alexandre Belloni To: Guenter Roeck Cc: Anson Huang , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, dmitry.torokhov@gmail.com, a.zummo@towertech.it, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, wim@linux-watchdog.org, daniel.baluta@nxp.com, gregkh@linuxfoundation.org, linux@rempel-privat.de, tglx@linutronix.de, m.felsch@pengutronix.de, andriy.shevchenko@linux.intel.com, arnd@arndb.de, ronald@innovation.ch, krzk@kernel.org, robh@kernel.org, leonard.crestez@nxp.com, aisheng.dong@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Message-ID: <20200309164705.GG3563@piout.net> References: <1583714300-19085-1-git-send-email-Anson.Huang@nxp.com> <20200309110609.GE3563@piout.net> <1ad38cdb-bf0d-1c19-b233-15a5857bd6fa@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ad38cdb-bf0d-1c19-b233-15a5857bd6fa@roeck-us.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/03/2020 06:27:06-0700, Guenter Roeck wrote: > On 3/9/20 4:06 AM, Alexandre Belloni wrote: > > On 09/03/2020 08:38:14+0800, Anson Huang wrote: > >> Add stubs for those i.MX SCU APIs to make those modules depending > >> on IMX_SCU can pass build when COMPILE_TEST is enabled. > >> > >> Signed-off-by: Anson Huang > >> --- > >> Changes since V2: > >> - return error for stubs. > > > > I'm not sure why you are sending v3 with the stubs as we determined that > > 2/7 is enough to compile all the drivers with COMPILE_TEST. > > > > > 2/7 alone is not sufficient. With only 2/7, one can explicitly configure > IMX_SCU=n, COMPILE_TEST=y, and get lots of compile failures. Granted, > one should not do that, but 0day does (I don't know if that is the result > of RANDCONFIG), and I am not looking forward having to deal with the > fallout. > How would that be possible if the drivers all depend on IMX_SCU? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com