Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2478659rwo; Thu, 3 Aug 2023 09:56:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAHBbCSZPf9pnv7KdYPzRYKPdI6UVnRSv3L11xdoBwCAe6WYEIQrFYRz2AZimH4NCFoWFE X-Received: by 2002:a05:6a20:4428:b0:13f:a69c:53af with SMTP id ce40-20020a056a20442800b0013fa69c53afmr1499903pzb.61.1691081816989; Thu, 03 Aug 2023 09:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691081816; cv=none; d=google.com; s=arc-20160816; b=QzIn2RlDavbHtwla2bFqiUjq8mnYR1qfOlDoZG/hX5neUANCTtMB7fNp6ib+zM33b/ 9WN3EnXD/o9vcg1W2yA8CdlkANj4tTBfVChlm2NlBYIWsgyyT8dLm00fAnvU7F5UUC4a XhO+6YOCB1gJ7xOeXrd9i/Yqn+XpyM9IZiudLd4ir5VaBV+oQDlhymxT7DfeUACWnh7q 0kgGenu9PtSdVwT+mthmToogCr/VR+rcXI/4zjx+e9uZrNVHO/pke0g+PgKaRY7VbwEz gzbHprgMCwjdLciD79CAtA0h4T7bzjIf4rqFKq3VVhKURTtKn11JxPIMQnR2noeUvlJf NtIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q6fPXN1Y9yrLJWUvpQ1dOJ0f2gtTCyYtwPND4T/OOXc=; fh=43aD1J6WcwMRcEgn6QzviwVcnY3/qM/Ucu25RaRaJcE=; b=g680EOwNkh4VuMqNkfse2AJ+KjphKNgu0iLu5gV5Rnh8VqvEgjcK/+C+eM8cwXOVHW /4MqfD37cocO2csUA3sKn0x+htwPa8mG/+4XtIKdIQcJUFWHMVng5YddsH3NHwstyHbM H+o5LroktOHmaje4upvojqt32vuKwIU+DgX3cLhUW0OAT00iClkA2wY6Qu9DZiPXEBuW 8VcYr3Y+QbccmXRfLm1RP5b3mhhXKnV4qZx/CAdAiaF8pDldtdpievTnMkVjIonjF614 Gu6M1OUva89S0Sl5ygDkLYWDbXh5ZD91iLsklx21xL45fGv8E59REwW9WOvm/9Skd1MB N/bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=wZVUnlR9; 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 fi14-20020a056a00398e00b0068291627221si169104pfb.15.2023.08.03.09.56.45; Thu, 03 Aug 2023 09:56:56 -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=@joelfernandes.org header.s=google header.b=wZVUnlR9; 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 S235832AbjHCQDP (ORCPT + 99 others); Thu, 3 Aug 2023 12:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237390AbjHCQDG (ORCPT ); Thu, 3 Aug 2023 12:03:06 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C24A81BD9 for ; Thu, 3 Aug 2023 09:03:04 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b9cdbf682eso17561941fa.2 for ; Thu, 03 Aug 2023 09:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; t=1691078583; x=1691683383; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q6fPXN1Y9yrLJWUvpQ1dOJ0f2gtTCyYtwPND4T/OOXc=; b=wZVUnlR9atwhT2lwA8w6dmGtQ8WIMlp3Hi6kFog+Pr+p1TstbIMmbmHwGeD4NFCisN MDC5zDueHnTxhPfEszdNtSZYvbym+BMFnqLvfV6VAA0dby1toFrYaykLzA+qSetOjMBk iJ6+NJBBMp61taEtgQcv5YWfhVRSaYhqsmpXo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691078583; x=1691683383; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q6fPXN1Y9yrLJWUvpQ1dOJ0f2gtTCyYtwPND4T/OOXc=; b=MPTaJspKq54pq5jbFgPEDiJLT8mQRQeO7l7bqWOMm7TB5+mdZ6nt82Sh9glRuKIUJc zLu0NanlQjasicPLrtF7Uikfrdf/ednXXPAbeh0GXH8D8kzmFzvMlgefhxa3kpOBRtoC Km/x8+9g810WLPnc7QaZFa/5LeRvJ+/6pobcoxAZr+LH/DNyrA9IfoWLkQXCk4nYl2rn KdYPjZP+8pD8gDLkW/XJVRIkqxMl+A9DuQMkb7miuoq9ABWQpBzQYVjONeNHyFr/FSn5 KdwltIHAvpAEkxpQXV7wZ/BAv3BWTwx3JmfjU/gsFRL8+tTN6DrFQCzoW5nfwlwDkvBH QDBg== X-Gm-Message-State: ABy/qLZqYftq7IYvzb2y1eEIKqILgig2xaHJosaSMBsOTLhqkvvOKUHW Y80e/ZoLzAU+9Pi6yJyCWT5hulJAWWH80qQNn1dkNw== X-Received: by 2002:a2e:3502:0:b0:2b9:4aa1:71e1 with SMTP id z2-20020a2e3502000000b002b94aa171e1mr7187847ljz.50.1691078582873; Thu, 03 Aug 2023 09:03:02 -0700 (PDT) MIME-Version: 1.0 References: <20230803144025.14023-1-arnd@kernel.org> In-Reply-To: <20230803144025.14023-1-arnd@kernel.org> From: Joel Fernandes Date: Thu, 3 Aug 2023 12:02:52 -0400 Message-ID: Subject: Re: [PATCH] rcu: include torture_sched_setaffinity() declaration To: Arnd Bergmann Cc: "Paul E. McKenney" , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLACK autolearn=no 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 3, 2023 at 10:40=E2=80=AFAM Arnd Bergmann wro= te: > > 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=3D1 warning: > > kernel/rcu/update.c:529:6: error: no previous prototype for 'torture_sche= d_setaffinity' [-Werror=3Dmissing-prototypes] > 529 | long torture_sched_setaffinity(pid_t pid, const struct cpumask *i= n_mask) > > Fixes: 521ec59e5453e ("torture: Move rcutorture_sched_setaffinity() out o= f rcutorture") > Signed-off-by: Arnd Bergmann Reviewed-by: Joel Fernandes (Google) 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 >