Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11671356rwl; Tue, 3 Jan 2023 03:02:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXuX+V1qCPB24coBlPpNYoO+CNUaj6oLbtXebhkO6z5ddJ9W+GOyCzAZ9jtS5JtS9B+cUH55 X-Received: by 2002:a17:90a:a618:b0:210:ccdf:2952 with SMTP id c24-20020a17090aa61800b00210ccdf2952mr47426238pjq.28.1672743777224; Tue, 03 Jan 2023 03:02:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672743777; cv=none; d=google.com; s=arc-20160816; b=Bnx79bPi0IJmAm8ZT8qHrjP7k/MWmmM8HjWqI2EaYV/fi/Z9P3vd2NXUN31N1xEaOa XOEmN5cVtZ+leIo0Pb5/s6DDNKio6MnylFuaO0k+FHkvOZ93aGKOqHha9LM2+42P1SXu Uk7q4j5XHBe2Lmem02k3YNnF5hx8vJlpcAExbpTlRzbg0Qt2zq/ERx0FJ3KBKzklXPCa gK9jw3BNYGFIbSiqi0l/Nuzdq3xX39gT+Nx4euU3fcErXH6QHnhm5cxw/+dVfwRYMlTu z9n8FUBuNXu/RPmuK8/e8vHLizbsh1iMMl97yWe98F/jSE0+bjZBt6dHwuzqAjr4/vQl zfOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=O4Yxllj3jM4rrJ6AnzpM35vc2AUYHZylYx89g1a7shY=; b=cEzFkc9zOxgSRNBNSJwBDNNqH+aKmINkfj2A4UI2GZ0ucFjFcpRblaBJbomCzSBNPj umdcI4YvdiIqUBixBspB1RV+QmHYWB9m0QF5AO6U6+ZewH1JlWwD+Q6MCZ27byTy//Fi S1n6bryVpHGvtb5HMmfdvljWbScUWhJPrXxJDwISdDrSPfjotNKThMpQKlDnisbwkf8Q jgynZJozr+kAwaDzLR7vGxZowJ1b97ExVj0HAOFzfCUPrO5ZHzmHY30jVw9p9NrnYEEC TlwfWlr91d4IARW1id45Z+TD4vnbibm6496NPbFAXjUA2vJzoLfelWc5OyGHzbu8ygLC sPiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu9-20020a17090b1b0900b00210d1aeabc1si37499842pjb.188.2023.01.03.03.02.49; Tue, 03 Jan 2023 03:02:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236918AbjACKv3 convert rfc822-to-8bit (ORCPT + 61 others); Tue, 3 Jan 2023 05:51:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232731AbjACKvZ (ORCPT ); Tue, 3 Jan 2023 05:51:25 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 713912EB for ; Tue, 3 Jan 2023 02:51:24 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCet8-00085P-1q; Tue, 03 Jan 2023 11:51:22 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pCet7-003Xgk-0m; Tue, 03 Jan 2023 11:51:21 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1pCet6-0004Yo-D6; Tue, 03 Jan 2023 11:51:20 +0100 Message-ID: <9ab815d737c2c0a2aa5e31c1cb1f768f74d617d9.camel@pengutronix.de> Subject: Re: [PATCH] reset: ti-sci: honor TI_SCI_PROTOCOL setting when not COMPILE_TEST From: Philipp Zabel To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: kernel test robot , Nishanth Menon , Tero Kristo , Santosh Shilimkar , linux-arm-kernel@lists.infradead.org Date: Tue, 03 Jan 2023 11:51:20 +0100 In-Reply-To: <20221030055636.3139-1-rdunlap@infradead.org> References: <20221030055636.3139-1-rdunlap@infradead.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sa, 2022-10-29 at 22:56 -0700, Randy Dunlap wrote: > There is a build error when COMPILE_TEST=y, TI_SCI_PROTOCOL=m, > and RESET_TI_SCI=y: > > drivers/reset/reset-ti-sci.o: in function `ti_sci_reset_probe': > reset-ti-sci.c:(.text+0x22c): undefined reference to `devm_ti_sci_get_handle' > > Fix this by making RESET_TI_SCI honor the Kconfig setting of > TI_SCI_PROTOCOL when COMPILE_TEST is not set. When COMPILE_TEST is set, > TI_SCI_PROTOCOL must be disabled (=n). > > Fixes: a6af504184c9 ("reset: ti-sci: Allow building under COMPILE_TEST") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Nishanth Menon > Cc: Tero Kristo > Cc: Santosh Shilimkar > Cc: linux-arm-kernel@lists.infradead.org > Cc: Philipp Zabel Thank you, applied to reset/fixes. regards Philipp