Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp404249lqb; Tue, 4 Jun 2024 15:18:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULUePvPRxRdbGe2ErVAGaS9YSbwwUTpHt703VWhHpJuDLNGLBZ2PbDkIphKO4ETZdPVJTmOsarJDpJq1Vyz185Knmjz7dPucLu2kG9dA== X-Google-Smtp-Source: AGHT+IFPT5PnBjIoEm0zJPFxxr8QbaNrZ7nhowbmT/xMYmx5T9Z38eEfXKWXUJvwXmVjucygqPka X-Received: by 2002:a05:622a:251:b0:440:163e:d8d9 with SMTP id d75a77b69052e-44019aa16dbmr65894881cf.14.1717539486019; Tue, 04 Jun 2024 15:18:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717539486; cv=pass; d=google.com; s=arc-20160816; b=Q1Ng+vreikklJfhaubXHJkIrvaXY+YhfiO/cuJBQQKYBvQjoXrqxCJgDxV52Me9kK4 oX/dJJ/rXb/1hp0jDNMA7qtwiMHBVg5iu1bEZlUwfwgI6G5I+MoGG2IPaSXqQHLqy8xO QZKE85U0USF8hv33UaVmsTY59FOUkSYAD7iHaBSKQ4D++tQWSiBcu22cBex/PF0WIeYe y819QOW2YxO19Uloc9vanYxW9eGoib4P4poI3S8kwJf8zFgEyKL3T3PloMtYX69Lh+pS B6FIQQXaPbWgI//UvQ+y1LISsyyPLW5pcUECsTs8rUEGYSSStIDoIvMtboKDPDzdMNI9 ICpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JPIPTmYm2R4HeXiDgV8hPSy2imWzjOm9VQDdtoRSbkk=; fh=oTAAXrv4f1cRLy/LyInMpbKqlCe0KTjIWEeBxGddLq8=; b=IPBY0/uOLp5CPAj5N/TIniIa1bX/rqIpUYcPu3iMNogUgODeLikXoX1h1+ERltadFu JQsqLkTSXcNYcLzKJnx9muLFHJbdFpZXIy3eIvhEIHLzKAXm/TdQVhuHOimE1WBbFhJG EoZm+9KJDzUfRHyvoSSSwVU+ZOkY4aGZAWL+npldQIPVMrE/jPAZWtmAjJ/C1X+onSxt 1usU8pciXVUrJPVuLvh0lIY2SJn2+BvH0yxc+DI0kVcIJ1mRlZK25gOdBPAU9IYiO6M+ JQIT82clmGzTRMncb0zdeWl2mgI1ZWQruZvjdPtwidZ9eS8mrlzDCNs3MWUOdKL9wlQ5 8txg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k6ZTD0Oi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b417a19si25730986d6.384.2024.06.04.15.18.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 15:18:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k6ZTD0Oi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201451-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 918E01C24F1F for ; Tue, 4 Jun 2024 22:17:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E53414D2B4; Tue, 4 Jun 2024 22:17:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k6ZTD0Oi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6916C14291B; Tue, 4 Jun 2024 22:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717539448; cv=none; b=TUlSFuBg3XQe/JIQQvrjwmQT+CJ33HGNHjME8cn+ocpGEfXA8yW+pVcjtjnQYKMA2IyL+RkpbWOvR7TksVnYTdMQfUk4g3XcvPqsgHGdVu3Mm+Q65d6dtZ9Z3CntIXuEXNGUN4JPmXgWKCsluFGei2molzXrC7HAq6aeEFFPmuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717539448; c=relaxed/simple; bh=ZIi9NsGl2kkv77Ig50dtYfPwTUZatjE3etHVnz+l6EM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cpzKLAAGzLl3MqCUiBF8t8147/mphKSQ/HaLFkF5EY5AtI3pN+eP6slj2EgWH51qnfZBkTpRIpXoVmGf5M+UhqVfeEJuDmwibv3vz73YgqGAK2jdLURGHORKZUKjZA0oP0ItO59N1ZXrF45gp4YgslesE+kSey0ErhsQ1UslvrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k6ZTD0Oi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00CF2C4AF09; Tue, 4 Jun 2024 22:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717539448; bh=ZIi9NsGl2kkv77Ig50dtYfPwTUZatjE3etHVnz+l6EM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k6ZTD0OipHvArrul0MhGb3LgsksiEcVb8CU901fJXMNTP6LfxmzRKVkLq5fIidmvL TN54lyMcMm9BeSzHPneTzNdrFAXkZ3wPt+c79/RgJHUHEw09MEhswavbKd4cY7fYXK 7c+II3ZGteeLwYxXlC6uxuGqHHX4ac+QDrU2z1QWwEnXMkE2R+8Lwb6HN6UeCy0aGx pZot4NKHzjpvcmD29wwxYKT1YJ9kwQafZ/Npk6f8VOEOarW5lk1H0vb90wMO8JVo/x oX4t0lXynwwd+YM1jrBFhEN/Rvt8dm9tkblXn8h8xaBtBNXjtBM0QOGLyHUCjDI9FK iMG3xMponbp4Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 96BC3CE3F27; Tue, 4 Jun 2024 15:17:27 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, Jeff Johnson , "Paul E . McKenney" Subject: [PATCH torture 4/4] scftorture: Make torture_type static Date: Tue, 4 Jun 2024 15:17:26 -0700 Message-Id: <20240604221726.2370316-4-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <0b6e7177-5620-4bb4-832e-908f871b081d@paulmck-laptop> References: <0b6e7177-5620-4bb4-832e-908f871b081d@paulmck-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jeff Johnson Fix the 'make C=1' warning: kernel/scftorture.c:71:6: warning: symbol 'torture_type' was not declared. Should it be static? Signed-off-by: Jeff Johnson Signed-off-by: Paul E. McKenney --- kernel/scftorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/scftorture.c b/kernel/scftorture.c index c20c6eb8389d2..44e83a6462647 100644 --- a/kernel/scftorture.c +++ b/kernel/scftorture.c @@ -68,7 +68,7 @@ torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operation torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations."); torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations."); -char *torture_type = ""; +static char *torture_type = ""; #ifdef MODULE # define SCFTORT_SHUTDOWN 0 -- 2.40.1