Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2348808rwo; Thu, 3 Aug 2023 08:11:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXeVwdvWdDyU2nz16xXlTmrUJ0j+yYGH1JgqqE6qMJWjyj3ERdkIWZP+jYmPJI9GeH/CuC X-Received: by 2002:a05:6358:5284:b0:139:be3d:d2fa with SMTP id g4-20020a056358528400b00139be3dd2famr9829172rwa.30.1691075487719; Thu, 03 Aug 2023 08:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691075487; cv=none; d=google.com; s=arc-20160816; b=PmJq9JkOy24DGliDc9IGGPSXFkXBCmI+dDHW60FZYGuMXWJz7adreLVhmVz4bDURJo vGdKcKr5GRmWi2M/8bzi03ub5GaeoKkOMOMBS3PN+vUVTcKx4i45dXOxXf05bkf23FSx +04BKlSirNY8XjPZCZoBy6AqcAF1dr97X7Mo/JDtpVDbsvZl8M/Zp26s5kvCMNc+S5VD oy7gFaTZ/xoJQ1qjYdem9HuWVvl+DrIljOIfM7NvaMK59COlsvJ6oqoXo+a9EV5oYOFp po/k6ZqosIxkmNrFxc6xBeZHQM31/GzhU5c935RTHI+P099ewcof2twBdRDLnaZgZPzn 6SJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lpIy35Y0aZrR+t59VADRh92S5Ihn0NVPejvRO3qqkRI=; fh=peYDWYitsTWq7soq8PbE/CmGMXmKcd6OIlFowhd5u6Y=; b=eojb5P18zd29+mxZuQYRTzmDdt7WHoRIQc4kJxlEG6NSQaiq24QRvaQApri5m9cvc3 UDbaAOEYgvyC0VDktWkg+Q5WLkBWrnnTOD3JpO3w4IBqH4AJNG/fs4a/0JU7wFPg9fq2 km8ne3hOzDjBUb1Xzii4neBpGGsArPk2M7SAozawRIM+XWgYrCziz1782iGE05n3yH8W jig/8RoLJokj3+YclBpzNjbZRPwC5NDMfhY847dPlphjMkdHNkQDKCpgjguhWVsFkcvD KdOK+5zZ6lhDCmyEBqHvhsq5vRZiPbTaq8UHQ6HsyULBIj/yDhSvwJl+EZ81ZQz5lPvM Riog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BebWia0X; 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 h26-20020a63531a000000b0055bc27f07aesi2217180pgb.480.2023.08.03.08.11.08; Thu, 03 Aug 2023 08:11:27 -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=BebWia0X; 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 S236775AbjHCOlo (ORCPT + 99 others); Thu, 3 Aug 2023 10:41:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236208AbjHCOla (ORCPT ); Thu, 3 Aug 2023 10:41:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E16B4217; Thu, 3 Aug 2023 07:40:45 -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 C2B0A61DD0; Thu, 3 Aug 2023 14:40:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E788BC433C7; Thu, 3 Aug 2023 14:40:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691073637; bh=9pxec8ZBavvpLPblzW9Mu0vwSLRXinc+qf3BTn5DC6s=; h=From:To:Cc:Subject:Date:From; b=BebWia0X00VwPvauWpfbmsnwyn0BB+Xuxw5ybhmZ7D//GhXsYxonbTMb87DnAI0Tt I9djm3zRyvigZwt71z08v+j8ZGRGnAgs6/VdcWki1VIQC6zgcyz+uOZ4Ua/o/FB5hP pasRFRD/JJPZ5gRmcDXq/wm5WuMzZczpHCWhLv19OtOx9K6Bh61j0BF7d1t9aX3ToF 9Xb6aHpaHTG8eRXzyuk6hDDL+DL8tjzPtgZXS39/2CoNqK4qIfx07jU74xSM+EB2Pm g6YDCJmhSJg8gAMEk11SSULXkYazz8nsw4ea3xHj5gj6ssTZn0Et0GlI8DWpsjCUoX bHcqnWxJznAXg== From: Arnd Bergmann To: "Paul E. McKenney" Cc: Arnd Bergmann , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Zhen Lei , rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rcu: include torture_sched_setaffinity() declaration Date: Thu, 3 Aug 2023 16:40:11 +0200 Message-Id: <20230803144025.14023-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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 --- 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