From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76E84C54FCB for ; Sun, 26 Apr 2020 13:28:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2217B208FE for ; Sun, 26 Apr 2020 13:28:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QhsLqfD7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MP8QXFao" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2217B208FE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o8dIPc9durk7/ms20PZbK7rZt6QxRujQyz9on1tLkz0=; b=QhsLqfD7DfemGv lJN7rMglwXDHNFWIkhHRqssVTKtF9uNZRodY2a7nnRQySPIks89IlVYTd+CzjWMW6srytzk8gBwJU gVQb9dNqxM1S6+weWydHatK/gvI4PIG1QN4USBEEaC53eDi99/TjcXQL87PfSUGOvFX1NpYmhYR7H ooxcgIYuZ5ntBWUfN0/8XjPuCOkaR/UsHv0NuEOn29A1yBKxrFz8DsUtjLCx1PL7bGVc40VxwdWMs T5V4jPQRbcq/oMNRI7rYA75RneIJP6ZMbqAMDebq9KryDfI2VlkaxQzahPjiinQy9/NoSmi4/4XzO AW+9TSQWnsklGVbScTBA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jShKk-0005R8-Em; Sun, 26 Apr 2020 13:28:34 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jShKg-0005QT-L0 for linux-arm-kernel@lists.infradead.org; Sun, 26 Apr 2020 13:28:31 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C33FF206DD; Sun, 26 Apr 2020 13:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587907709; bh=RjXsmOqo2dFX8kf+WmyfnyhOen4S9fQ196qSx+qix3I=; h=Date:From:To:List-Id:Cc:Subject:References:In-Reply-To:From; b=MP8QXFao2YR/On4soFwM2uAPvpKe/oGBq51JGsNFXVSShK66Wv5Kk7AJeZbGpVcBs EFyBxRKdoFax6Gzor4U8QVlvPbn+p26qAv5KmYOEJ4ZG1aUKvure4MaZYsFaCHDJvM b+Spln+sETvBV0iFErFSVmfRtYC88ZGro91NWe7c= Date: Sun, 26 Apr 2020 21:28:14 +0800 From: Shawn Guo To: Arnd Bergmann Subject: Re: [PATCH] firmware: imx: fix compile-testing Message-ID: <20200426132812.GD30501@dragon> References: <20200408190314.695067-1-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200408190314.695067-1-arnd@arndb.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200426_062830_711680_BDC83755 X-CRM114-Status: GOOD ( 12.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: Daniel Baluta , Anson Huang , Greg Kroah-Hartman , Sascha Hauer , linux-kernel@vger.kernel.org, soc@kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 08, 2020 at 09:02:57PM +0200, Arnd Bergmann wrote: > It is nice to allow compile-testing the firmware drivers, but this > fails when the dependency is a loadable module: > > aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_power': > scu-pd.c:(.text+0xd8): undefined reference to `imx_scu_call_rpc' > aarch64-linux-ld: scu-pd.c:(.text+0x108): undefined reference to `imx_scu_call_rpc' > aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_probe': > > Change the dependencies to ensure that any driver we depend on is > either reachable or we are compile-testing and it is disabled, > effectively reverting most of the previous changes that turned > out to be incorrect. > > Fixes: a9f85f93ed73 ("firmware: imx: add COMPILE_TEST support") > Fixes: 5b00b8375416 ("firmware: imx: add COMPILE_TEST for IMX_SCU driver") > Signed-off-by: Arnd Bergmann Acked-by: Shawn Guo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel