Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2641781rwb; Mon, 7 Aug 2023 00:29:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+lYemBRLyz0pcqL9JrXFyUeBzpplJj6OOMGW4KxXcvyilDY1NlonEDdDI5Sp1VaSj3GZ+ X-Received: by 2002:a05:6358:6406:b0:135:7c30:523 with SMTP id f6-20020a056358640600b001357c300523mr7553158rwh.16.1691393389665; Mon, 07 Aug 2023 00:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691393389; cv=none; d=google.com; s=arc-20160816; b=CJeF3FIWRI2nSH8A6QBkgIFOcgcOy31nrJM1NwFr6C4SAskARkO0x3fYUt2eZMvDcO 69JjCwxKGqYSRqhFW3H/DXuItUP4aXEfS8wuFAnIUun7NQua6Fx0rp7OrDrRQHbPpP8r DUMJPiU0SZ8vgf5opvPknyMnxPmQAQ4yy2ZrMN8O9ylf10p+I2SPpPo/XZ6MgG6C+/bK FF3oR5PQwFJu6J1sY6XGOc5wf/63C2zd0Va1erJSXO4mmymPYt0CHO3pncMLBbkoxnFC inyWOD21IMq+k7stCbjZK2mcz8FI71QIOe2/pBTyhTADkhRXGeq7nvxGn6tCF0CEAvZ0 7qsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=ay9FsHc3/7mWBV91HuNo17ajjz/dqYX2butjCFhfL9g=; fh=SN24EhUaK1WMHPc3PcAlwJuLbREV7w9yxmI6CNPW714=; b=pD4yiVdKMWWiFoIhbywiQoillL4mls8aQrDWr3u2pzAjw3Zg0J4hCBdbqlzm4dVSyx KckSMndLNUN4Eid7AS16xHoierR3Jb4DRLskjHePRxiYCTl6MFI7cVuOSKa0yaRiYRG6 VAL+xRBvhorXknCFXs7YQilipteTkhz/xtE6CVb7jlU+heDgZI+qrOxXnyOfA0DJBtkQ 4BuG2kF8i3WvrmfIu8uXfFT8suANg/hW3vE0STd+aLH93dJlK2EBJQvVkGx+HWKgc2Bg mXdTdp4KfgIfCvknb3YZfNaFWwjCYMGWz+C1l33fXGSNrgCSqBn2oMiMq81IKBvuwwwY kJ/Q== 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 z191-20020a6333c8000000b0055c66f42ee3si5042375pgz.533.2023.08.07.00.29.37; Mon, 07 Aug 2023 00:29:49 -0700 (PDT) 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 S230148AbjHGHWe (ORCPT + 99 others); Mon, 7 Aug 2023 03:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjHGHWd (ORCPT ); Mon, 7 Aug 2023 03:22:33 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 811C3A7 for ; Mon, 7 Aug 2023 00:22:28 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qSuZN-0005Ox-Gr; Mon, 07 Aug 2023 09:22:25 +0200 Message-ID: Date: Mon, 7 Aug 2023 09:22:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] nmi_backtrace: fix trigger_allbutcpu_cpu_backtrace() stub definition Content-Language: en-US, de-DE To: Arnd Bergmann , Douglas Anderson , Michal Hocko , Andrew Morton Cc: Arnd Bergmann , Petr Mladek , Tom Rix , linux-kernel@vger.kernel.org References: <20230807071109.3386799-1-arnd@kernel.org> From: Thorsten Leemhuis Autocrypt: addr=linux@leemhuis.info; keydata= xsFNBFJ4AQ0BEADCz16x4kl/YGBegAsYXJMjFRi3QOr2YMmcNuu1fdsi3XnM+xMRaukWby47 JcsZYLDKRHTQ/Lalw9L1HI3NRwK+9ayjg31wFdekgsuPbu4x5RGDIfyNpd378Upa8SUmvHik apCnzsxPTEE4Z2KUxBIwTvg+snEjgZ03EIQEi5cKmnlaUynNqv3xaGstx5jMCEnR2X54rH8j QPvo2l5/79Po58f6DhxV2RrOrOjQIQcPZ6kUqwLi6EQOi92NS9Uy6jbZcrMqPIRqJZ/tTKIR OLWsEjNrc3PMcve+NmORiEgLFclN8kHbPl1tLo4M5jN9xmsa0OZv3M0katqW8kC1hzR7mhz+ Rv4MgnbkPDDO086HjQBlS6Zzo49fQB2JErs5nZ0mwkqlETu6emhxneAMcc67+ZtTeUj54K2y Iu8kk6ghaUAfgMqkdIzeSfhO8eURMhvwzSpsqhUs7pIj4u0TPN8OFAvxE/3adoUwMaB+/plk sNe9RsHHPV+7LGADZ6OzOWWftk34QLTVTcz02bGyxLNIkhY+vIJpZWX9UrfGdHSiyYThHCIy /dLz95b9EG+1tbCIyNynr9TjIOmtLOk7ssB3kL3XQGgmdQ+rJ3zckJUQapLKP2YfBi+8P1iP rKkYtbWk0u/FmCbxcBA31KqXQZoR4cd1PJ1PDCe7/DxeoYMVuwARAQABzSdUaG9yc3RlbiBM ZWVtaHVpcyA8bGludXhAbGVlbWh1aXMuaW5mbz7CwZQEEwEKAD4CGwMFCwkIBwMFFQoJC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fLBhV ic3b8Yec+Kn+ExIF5IuLfHkUgIUs83kDGGbV+wM8NtlGmCXmatyavUwNCXMsuI24HPl7gV2h n7RI In-Reply-To: <20230807071109.3386799-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1691392948;2ff2b519; X-HE-SMSGID: 1qSuZN-0005Ox-Gr X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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 07.08.23 09:10, Arnd Bergmann wrote: > From: Arnd Bergmann > > The prototype for the extern declaration was changed, but the one for > the empty stub is now missing an unused argument: > > kernel/watchdog.c: In function 'watchdog_timer_fn': > kernel/watchdog.c:521:4: error: too many arguments to function 'trigger_allbutcpu_cpu_backtrace' > 521 | trigger_allbutcpu_cpu_backtrace(smp_processor_id()); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from kernel/watchdog.c:17: > include/linux/nmi.h:193:20: note: declared here > 193 | static inline bool trigger_allbutcpu_cpu_backtrace(void) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thx for this, ran into the same problem while building -next today: https://copr-be.cloud.fedoraproject.org/results/@kernel-vanilla/next/fedora-rawhide-aarch64/06247267-next-next-all/build.log.gz FWIW, it seems Andrew had noticed it and a fix ready: https://lore.kernel.org/all/20230805100033.37f1df3bf720a7c21ad8980d@linux-foundation.org/ Maybe it was just not committed or something? Ciao, Thorsten > Fixes: 0ca1d340a231e ("nmi_backtrace: allow excluding an arbitrary CPU") > Signed-off-by: Arnd Bergmann > --- > include/linux/nmi.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/nmi.h b/include/linux/nmi.h > index 7cf7801856a1b..e92e378df000f 100644 > --- a/include/linux/nmi.h > +++ b/include/linux/nmi.h > @@ -190,7 +190,7 @@ static inline bool trigger_all_cpu_backtrace(void) > { > return false; > } > -static inline bool trigger_allbutcpu_cpu_backtrace(void) > +static inline bool trigger_allbutcpu_cpu_backtrace(int exclude_cpu) > { > return false; > }