Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp928423lqb; Wed, 29 May 2024 15:16:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnTjTI4RdMTgAboRISw955l9BgcoBqdQ4MFModiTKFJSLaU3eCaFNKUA+yOnubyNlCpYpW0iJyQ2OUhjr0mk0helFqdm3aalP4Ij5yQA== X-Google-Smtp-Source: AGHT+IFUx1srYNaXv7lFXBjajJ8crzWOc0dmHTB5P0euT3Vykb0FZyWUxBc+wk6HKS0sIbk1KyLb X-Received: by 2002:a50:d51c:0:b0:579:f08a:d67d with SMTP id 4fb4d7f45d1cf-57a177aadbfmr195123a12.8.1717020985079; Wed, 29 May 2024 15:16:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717020985; cv=pass; d=google.com; s=arc-20160816; b=IKaVK+3g0hZZgrigIxR0Ajo/jZe0KTyT7yj3Pvnpk2+hsdKejuyL5qctIS/99kYTTq p42HT9Hr5zZV8g+4kpfmM9y9aTijsXqouVsFzb/XmbHAMlwyQhDFDwUlAiiOF3yMAwn8 +Rih4vTul92+JIfMROO93wlxYfh6sSaacm45xOQ8mvQEkKfuri9eRqrBhsx+6rne6fL0 DQYDM9ZYer4jzcjuqlJbLSEQLI43QnAmHNWoK8e+UMHDHqRoknriZdrJkZ6SpsDNeg2f +sTT50MJCFxF8HBz2GmIG9bcNnKjgos6oAgMW6JKipZrS7i9B+Q/dCmEAfWkrvamSJ6F mw+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=+FxePGqNjg9AD+81e2Xw9UFogZ8bd9jGlvMogU51Unc=; fh=7Lj3Q+XybqmInuaPzO7bX3I1lz3UuRqEKqcrW6Sd1hI=; b=mjyMbXA7SFnFERE+gj1FKdlxrwKZr19il5vnmbd9cqfM4d/c0RFjV08gqeaDUCxwFO r5Z14G6rWLRQ/FFvlisoZ1cZlwftMlKVlm3dC6xYUw/26XRJzdDKfU5AujNjPcuh/nRP tH55U6TLw0hbV0Mjk7QnbuCxEgBaKGtTD32XI1QKFqTNpWzoZDmJWaJu5uFEdS+UFOsj UiqxXx8exccp2eJ8RUXPbgwRP8RgVwfRk0Cf7uKjUzw55NMHHXr7NfzMlIQEWsne/F8N WwKhWqPAS7bJJqVuJ6pUQygMn/oVMD711cg9YTEaJqksyb6RjjAYXf4iS6XV9PgRU9ps paOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SqrzuXnS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-578ed6e3653si5165755a12.227.2024.05.29.15.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 15:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SqrzuXnS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194736-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C11581F242D8 for ; Wed, 29 May 2024 22:16:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7740C16A37D; Wed, 29 May 2024 22:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SqrzuXnS" 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 9AE632837F; Wed, 29 May 2024 22:16:15 +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=1717020975; cv=none; b=lyNbahqw6HaS0+qNKRaPF4QeqEWL2YpMsFL8gpISL2MuiE0r9AqO7DwK8y8A9CY5Vaqkza/+tVU8e3VOxlbGUVGVv19HgiDya9upopkoeXpU/+VxUghc/nRKsjkkcCmvKqvxl8k2gtbE6NuGWsPsULOBKbJNSqwVv5zzSUm2n7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717020975; c=relaxed/simple; bh=zqXplLo3IUyebn6TUaamzkysme61Xk/+JDrVtVNmDRI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ryKycvVvCTx7VmcWoo/YftgY525kyrmMEvxFnSyOrTFtpF6sTQtvG4C4y/fisiD667Z9DiTv1PQJC3dRIrPrXMJ8x1HRaFUF6OgyjC4KY/w7w0DYF6ont9QeFSBAG8LWYAHDgBU9TAp1CL9KJOsIsLksjr29C+WfIhJ0P+xkOLA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SqrzuXnS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18EECC113CC; Wed, 29 May 2024 22:16:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717020975; bh=zqXplLo3IUyebn6TUaamzkysme61Xk/+JDrVtVNmDRI=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=SqrzuXnSUwZZkHiF8SX74ogMREIZxNa/mUcmU/A4Oqgoa1IjGuYkMV8BO5KE0GZDd sNp76eLfHWDL0bpFljmGZfJXNoVB51cFhMTBtmsTKRllQ6ww8RJpGF10E/Ma2XRg8T NE5Fu1n0cgh6ufkfpyk2h+AMGIb0ZijFpOPrDgdL9hOMAyPeYYLHz8OjSS7AWPB0QW drNJoN3uIX4Lhg+yfARq+/qTGu8MlcEX2Q4PBm1Lj3eyWmI+YhUnxx7x5LhfT5R0jR UO+iH6notw5mS68L7p1kPysRo23eQxVuMgbcfInR70WcG3WIAyN9aMy4BH2p3yBa95 /ZvBUfPLF+cfw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 99D53CE0EE0; Wed, 29 May 2024 15:16:13 -0700 (PDT) Date: Wed, 29 May 2024 15:16:13 -0700 From: "Paul E. McKenney" To: Jeff Johnson Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] scftorture: make torture_type static Message-ID: Reply-To: paulmck@kernel.org References: <20240529-static-scftorture-v1-1-b0ceaeefebaa@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240529-static-scftorture-v1-1-b0ceaeefebaa@quicinc.com> On Wed, May 29, 2024 at 01:45:40PM -0700, Jeff Johnson wrote: > 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 I queued both this and the scftorture.c fix, thank you!!! Thanx, Paul > --- > kernel/scftorture.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/scftorture.c b/kernel/scftorture.c > index 59032aaccd18..13ad348143ca 100644 > --- a/kernel/scftorture.c > +++ b/kernel/scftorture.c > @@ -67,7 +67,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 > > --- > base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358 > change-id: 20240529-static-scftorture-c86eccd9e30e >