Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp596014rwb; Sun, 6 Nov 2022 10:30:00 -0800 (PST) X-Google-Smtp-Source: AMsMyM5khMY0gjNyBnuFK9iF1efVisjxABnTofHXCRDBXHpyLH8ZXMdDrjO9t+NiaxvDRKklB9bj X-Received: by 2002:aa7:d858:0:b0:463:12ed:3f86 with SMTP id f24-20020aa7d858000000b0046312ed3f86mr42863934eds.281.1667759399903; Sun, 06 Nov 2022 10:29:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667759399; cv=none; d=google.com; s=arc-20160816; b=IL0ygFDJhlHWMMFxSbHzXjETGZ0MYX89CVeG5MW3cIvANpqQq8wh2b8E6J+Up8QaHx PwhBv9V3zYdp8OiqPz41tzD+RmPZ7KfcPk9ezRyXZMiKmS/mSWQROCEF282Rx8fgDUmo paGFIA6skANijGMMExkMdHOU39dkTfTSSTcftNUCX+PefroWeupRlVvFE0Bw4U20BB6e QqCYRHih406jSER0A3o5NrGzLgEV6qXPpAjeG0SuH60EbAngF4U/n4TrU2xdPOlwY5gs xmARqOKOFOD1rA4XuUx/N7mfy4hSDw0r1xkFe6OGu5u41RUBbbVQeBhMB/iOHgwYIgqR iJYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Zg7/l4xvuUyfSZ1Lnyt6Mb3nu3U4w2YBOxTgNkugPXk=; b=UESBh/nn2PAKB9WJBL3VCjtD/Kx1RVbCVoVm1CLX0KFMm2nNzJHhSo443eu1JkR+hv yXH71wsdto8T9TtIyLr2h/waOClekwDzsMwd2sP8gYMo4MaphipUpthzmHUfryEnn7Gj 8HLFYx7sgyNIfsjW1i14EleuKjxAWeeb83NlizHxVJCa0jUQHPMNFCKv0FGud6bi8/82 7cUfgq3ndgIWzTMArbJz1F8/7txNpqnZDCL+OaOY2Vs+5cG41vG6moRDbO5zNeJgHjru KSLZ/vB867NiDNF/5oZ677tflbDQXn4iuvF/Wmh6IB4WvbBL0i/+RUojAM7q9I2psSFH cqag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=D5sVdGo7; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs7-20020a1709073e8700b0073d9ea386d4si5231650ejc.983.2022.11.06.10.29.36; Sun, 06 Nov 2022 10:29:59 -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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=D5sVdGo7; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbiKFRzB (ORCPT + 96 others); Sun, 6 Nov 2022 12:55:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiKFRy7 (ORCPT ); Sun, 6 Nov 2022 12:54:59 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96F6A643F; Sun, 6 Nov 2022 09:54:57 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 74AF2100003; Sun, 6 Nov 2022 17:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667757295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Zg7/l4xvuUyfSZ1Lnyt6Mb3nu3U4w2YBOxTgNkugPXk=; b=D5sVdGo7REHqDaPlbmq9IOJE4IGSq/6p+Ihyq0bQoVoAF4LSPF9K5DbBCTZJ26R9yDu+s0 /ewfsA10SVS0t4fYAKXrwP7f4G76Ah6qckJt7Gz65xZBRMYp4jrHOPs0PBTFFpeXoyHadh sGyOwdWnedDd8VyEwDcxYqFcSnZIroBbXYNjMxod9I3wBdlO3pmEG4SPXpmVfPtuV31NK5 z96ZuZlvfe5jtyyKrZIE2P5J7oB9cpGqjwHXtI02sqN6kN/S6YgnOaYlNbAwRvwmiMw9TR 1CCjduL2q2AE7Oz2Bxrlrz6Y0jdWDNAIP+xhoQGX28eIoePjOCmrlm5XL/cYjg== Date: Sun, 6 Nov 2022 18:54:55 +0100 From: Alexandre Belloni To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, kernel test robot , a.zummo@towertech.it, linux-rtc@vger.kernel.org Subject: Re: [PATCH AUTOSEL 4.9] rtc: cmos: fix build on non-ACPI platforms Message-ID: References: <20221106170729.1581125-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221106170729.1581125-1-sashal@kernel.org> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 Hello, this doesn't need to be backported unless you also backport those: 0782b66ed2fb rtc: cmos: Fix wake alarm breakage 4919d3eb2ec0 rtc: cmos: Fix event handler registration ordering issue 6492fed7d8c9 rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0 On 06/11/2022 12:07:29-0500, Sasha Levin wrote: > From: Alexandre Belloni > > [ Upstream commit db4e955ae333567dea02822624106c0b96a2f84f ] > > Now that rtc_wake_setup is called outside of cmos_wake_setup, it also need > to be defined on non-ACPI platforms. > > Reported-by: kernel test robot > Link: https://lore.kernel.org/r/20221018203512.2532407-1-alexandre.belloni@bootlin.com > Signed-off-by: Alexandre Belloni > Signed-off-by: Sasha Levin > --- > drivers/rtc/rtc-cmos.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c > index 1dbd8419df7d..2c3881bdf9bb 100644 > --- a/drivers/rtc/rtc-cmos.c > +++ b/drivers/rtc/rtc-cmos.c > @@ -1113,6 +1113,9 @@ static void cmos_check_acpi_rtc_status(struct device *dev, > { > } > > +static void rtc_wake_setup(struct device *dev) > +{ > +} > #endif > > #ifdef CONFIG_PNP > -- > 2.35.1 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com