Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2462388rwo; Thu, 3 Aug 2023 09:41:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZa3uRx+VDC4G/74fyho2ax+axKRdFaC/uCakFgnLicbyC3zITKHg26AgIMB6qNwYQ2zwy X-Received: by 2002:a17:90b:4b84:b0:263:829:2de with SMTP id lr4-20020a17090b4b8400b00263082902demr16377693pjb.2.1691080888747; Thu, 03 Aug 2023 09:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691080888; cv=none; d=google.com; s=arc-20160816; b=r8PFHRYD4u/aqWWXEUdjmXqjbsYu5S7CgH+EWggg8uZ4QnVAVKQvP14M5evnK4DYSy BIRfEk1TQ5BChZfTjJS2Pz8L5cRFLBxKXeszggurKRA3+WYPYPJSICepQclytQaqwlHJ 2hZHV5mY1laS3UiPde3CuVb3NQS8KkAl1MJgChNWoSt47n/LYSjPhOhaQer7pX9hOfTs AWxdKK4+YxUWnuLpLWp75Jwo3L6UJeOwQrmV1drq1s+sbN4mH86/LEsQBcpoSAQ3YjpN vU09bRM+ks6imBXAGL170kkivMWlcnBTO8ZaiHeHPIfPOyvEq3pkqld1btnsQM0VsguG UtzA== 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-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=PIerHHYY9rhQSsKyoFqz+lTvPvBq34Yaqfb0M6beN9E=; fh=FXXrj40/RpDt8jn+H9tw0H3J7V7OFh8IfK+QyLTaRYc=; b=uHECN75IVWyGe/ebX87DEMiqGJMoNTqbA/2kjQfcI6lwmzNYZIIPv7MZVw8YOKM3sx zK5ZcJ8hd4Q4BE4W0bmWgkQv1D7+2SDW/yDMgj8nllfbp0sdAV1QM9Eh4Y7JA6rZYFQT 21m59mhudAdMSVXDh9NG3IYZY9z/2IsnFh+bU3H1XCryVhI9mbdNqgWkoUU+5PM0HznW 0umoEZtbScud+jxR30M1jFxrTMN+PcU6f5i1VSAVxaTW5hiY/qu1+MOY+5J35+WVSpvS 8QQdP3T5rSpoyIlzxQWJvsBGUzofGwSsR0HyBUwMmgkXYFSCMlDJApOXpUEh08XSNb6U 2iUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gc2iGCVD; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a17090a8a0400b0026805ee16e0si259821pjn.130.2023.08.03.09.41.15; Thu, 03 Aug 2023 09:41:28 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gc2iGCVD; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbjHCQcm (ORCPT + 99 others); Thu, 3 Aug 2023 12:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232507AbjHCQck (ORCPT ); Thu, 3 Aug 2023 12:32:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24BC730D5; Thu, 3 Aug 2023 09:32:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ACE9661E3A; Thu, 3 Aug 2023 16:32:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C128C433C8; Thu, 3 Aug 2023 16:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691080359; bh=ptaxZ4bU16R1uvGfuuzlliYFRX98Xym9B152pK1Wfyk=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=gc2iGCVD1BlpyHtmLfHMiJRXTSzasjCXFMP+d2p0/seDfDMNm638QDAbfwh4qzSd9 4t6sUHmb4jI3hjeKdReELofbpLOC+s6c6plA+VYoeDsk3LP9sJLzsVtgTOsmKiA56X 0W/QZZMNKK+rVfB42rX5Ib41UWve0bDWLLfZZCgUTWjirgCku0+wrahyz31BEES2po IPlxZAEHgK1vKIS4h1v0wL2wNZNNzyl259lXWabOkmsr2Z5E4PVn7lrcA2WPiec6wU 3VG861tsr5CQx7D5fzFRUGQQ1Jm/Dqll3GZftUhnSJjcEUp7iGwSU5bgf0gPdHTr2N H5+I8OwHNKZ6A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 97057CE0C8E; Thu, 3 Aug 2023 09:32:38 -0700 (PDT) Date: Thu, 3 Aug 2023 09:32:38 -0700 From: "Paul E. McKenney" To: Joel Fernandes Cc: Arnd Bergmann , Arnd Bergmann , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Zhen Lei , rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rcu: include torture_sched_setaffinity() declaration Message-ID: <10180121-4584-463a-af52-1005b23271e7@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20230803144025.14023-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thu, Aug 03, 2023 at 12:02:52PM -0400, Joel Fernandes wrote: > On Thu, Aug 3, 2023 at 10:40 AM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > The prototype for torture_sched_setaffinity() moved to a > > different header, which needs to be included from update.c > > to avoid this W=1 warning: > > > > kernel/rcu/update.c:529:6: error: no previous prototype for 'torture_sched_setaffinity' [-Werror=missing-prototypes] > > 529 | long torture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) > > > > Fixes: 521ec59e5453e ("torture: Move rcutorture_sched_setaffinity() out of rcutorture") > > Signed-off-by: Arnd Bergmann > > Reviewed-by: Joel Fernandes (Google) Queued (likely for the v6.7 merge window), thank you both! Thanx, Paul > thanks, > > - Joel > > > > --- > > kernel/rcu/update.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c > > index 0533b510f0a8..c534d6806d3d 100644 > > --- a/kernel/rcu/update.c > > +++ b/kernel/rcu/update.c > > @@ -25,6 +25,7 @@ > > #include > > #include > > #include > > +#include > > #include > > #include > > #include > > -- > > 2.39.2 > >