From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b7-smtp.messagingengine.com (fout-b7-smtp.messagingengine.com [202.12.124.150]) (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 3CA501A0728 for ; Sun, 3 May 2026 08:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.150 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777796412; cv=none; b=QLxPIZUhvzoMzSb+aR79iV/VELTO+r7SkKN4+l0+8smSTEzKwTyu6PsseDMTZikshdS/SQMPsVPdo2iV7HN/CVHqH7ofdyqKxb/2qxJVwljSXNgMspZx5l3N8S16ESjY6FQawcxhmtjQX6p6UqCbBINridkEZSBtqXEsvCLXfZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777796412; c=relaxed/simple; bh=IuL5hXMW83cPmz02jF2hbrLLQ7cqWW+r0LfjY7iwqJg=; h=MIME-Version:Date:From:To:Message-Id:In-Reply-To:References: Subject:Content-Type; b=MgW6tJnXMRKlZkeGhsxtXTO2KsvzU2ty5fbKj0RSWHWevWWcWo75xxbeFZRB0K5W86EqvWOn0YMjUhQd2GJmfmbMOh0ZVpinayr1fRR1l4/CQbidBKjxCkzePhueO1A5K/pW30eGtco/xOJgzeIHNnP/Hh6c4MlITyvxvLfYvPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=yHiBz5Ws; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=eoJMl8H5; arc=none smtp.client-ip=202.12.124.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="yHiBz5Ws"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="eoJMl8H5" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 151FF1D000D8; Sun, 3 May 2026 04:20:09 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Sun, 03 May 2026 04:20:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1777796408; x=1777882808; bh=jz5Hw8f/NCDe+d0XVIKC5DHpJalWcDyg7+q5IUEoAQ0=; b= yHiBz5Ws7iVow2rQZbvPw3mIIraW2DInXaQA12lP0olr4mkkeHQlHat0QNBgQV9j No3RyTEwrF5R8PNhMdICT25ZeUpzwLPztKRcXcBYlO7XK3Yzv0JQmTRs3iwamux5 DblNKarQZ7k1uN2qokASoTva2NJ9gIHeQAVRlPmNXJhCcEHse2m++m+z5IzzEI+u J9gpinNezRAwhMfewmhScfQILLofQE95ZgrvOypN+oHahhXAS7rlB+JBULCj5M6p yb9yamU8+3qnTNweeVjfyBRjrJJNQD0uTDevW/z4x/dlNKf3WjT9U3R6r3OY7b03 4gzdYIFDL9/dALewUpR8sw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1777796408; x=1777882808; bh=j z5Hw8f/NCDe+d0XVIKC5DHpJalWcDyg7+q5IUEoAQ0=; b=eoJMl8H5LIW88imzH 013X8hHtcHO9/TuZG54HOPVcEx8vvT4tLXkfPxvqhmwxUuttbDEyW/tZ8VzAnz6I 7Ns2nsTTDzySkTg/UgICjV2kcfh62rsMan/uwjOU7CPv+GjeLYwAXqL5pyX+jjiy WkEEc+HjgD5rEk0IaJr/Y0FSCyaNneDkIdZu8dy2cOv8FIWwiW1uuAbwXBLPStyN Pb04SmJ4KxxCCPHzXO30O7TdDQ64uMhdEtFLDxFQyPlrJkjksXdf1aEoyEqI9L2T 4y3VY33KZ2e5r7+bjv1xKps8Eq9qpXwmVKkDeqD3TjjN7041fdzAQs21hBnREIxL 7dGMA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdelheegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhguuceu vghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvghrnh epkeetgfeufefhkefhjeegffefteffveeuhfdvieejtdefvdetheeftdejudffvdehnecu ffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggvpdhnsggprhgtphht thhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsihhmohhnrdhrihgthh htvghrsehhohhghihrohhsrdguvgdprhgtphhtthhopehvvghnkhgrthekkeeslhhinhhu gidrihgsmhdrtghomhdprhgtphhtthhopehgrhgvghhkhheslhhinhhugihfohhunhgurg htihhonhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhk vghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 59CDF700065; Sun, 3 May 2026 04:20:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: A1VzGB6javoN Date: Sun, 03 May 2026 10:19:36 +0200 From: "Arnd Bergmann" To: "Simon Richter" , "Greg Kroah-Hartman" , linux-kernel@vger.kernel.org, "Venkat Rao Bagalkote" Message-Id: In-Reply-To: <20260503074840.609833-1-Simon.Richter@hogyros.de> References: <20260503074840.609833-1-Simon.Richter@hogyros.de> Subject: Re: [PATCH v2] misc/nvram: only declare mutex where it's used Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, May 3, 2026, at 09:47, Simon Richter wrote: > The ioctls using this are platform specific compatibility code. On other > platforms, this generates a warning for an unused static variable. > > Fixes: 20e07af71f34d ("powerpc: Adopt nvram module for PPC64") > Signed-off-by: Simon Richter > --- > drivers/char/nvram.c | 3 +++ > 1 file changed, 3 insertions(+) I think the better fix is "[PATCH v5] char/nvram: Remove redundant nvram_mutex", see https://lore.kernel.org/all/20260428061540.73668-1-venkat88@linux.ibm.com/ Arnd