From nobody Tue Apr 7 01:35:35 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 98F303D3D00 for ; Fri, 3 Apr 2026 16:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775232590; cv=none; b=jmI5aHXiwVamW1hm8Ov+bZBwa3jfUJfVKSEx/FTmKZUFVtMxzqqd4yYly9X0mclmJvu9jwbz+ndsoJz1UiJQBn6c80tWAD8kfBs8CW5OdsFGg8hSxvuZxB+aDl2l0uGpWQp1LoPbLoQwnAasU1SlYeuQ2ZfKHtjVvKpCwa/vm3o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775232590; c=relaxed/simple; bh=9MefzCIV+tnB/FnzOtLFwFa7sENOrT3OAIQ9rTsmCUI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hNwKO6/dLMsSo/1Y7VA9zmjJyCnaTcfDNvBbPt9bMtd+IP3q5npR/w+NDCwDwveQ2ulxS4W/W3d+eNzLZi6PWtFJQlO9ci7Fm4ibH0aBmMtdOwyLlaxjDCkjcqOtVqZowm4gmR4Mpy85VZvFt20E6Tve3lvfdgdoCIHmkHqa0PU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=beNsjK4q; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="beNsjK4q" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 789DF4E428D5; Fri, 3 Apr 2026 16:09:48 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4F663603C1; Fri, 3 Apr 2026 16:09:48 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1DDD310450104; Fri, 3 Apr 2026 18:09:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775232587; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=UWpfRE4WtdnRITw0PIgGXyjweTZSRtj+l56eZxMc4k0=; b=beNsjK4q//+q1Zgb3Ggz6kZ58H9Rh8De5IrbwClMCJgnF95ZDHbfpQgoQaUP5czuUHZXrb Qx2SxlYsvL6RqsFX9wQYB1+2aL0dP7/bbW96SXLGfW9fFnSf3N/GylbiXm4zrd2aTW/Xo/ LPcu4DzRh/u5iz7y3TqRgjcEaiJ0dksAIKFrEmu3AVehOlbjYsZhLgXDxZpC6PpDcXNAL/ cGOGq1cZS6H9xUMCN5sPi88ywglPg8hD2DVoROjMjePzSi6Ouk6+MilN4HLtz09vH9ulUS eiw2RRdNluejCF4YT30jqpWDExTs96yAurpY4xD7ToIGTmuGcMyv2Jttc/sP0w== From: Miquel Raynal Date: Fri, 03 Apr 2026 18:09:23 +0200 Subject: [PATCH v4 05/27] mtd: spi-nor: debugfs: Align variable access with the rest of the file 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="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260403-winbond-v6-18-rc1-spi-nor-swp-v4-5-833dab5e7288@bootlin.com> References: <20260403-winbond-v6-18-rc1-spi-nor-swp-v4-0-833dab5e7288@bootlin.com> In-Reply-To: <20260403-winbond-v6-18-rc1-spi-nor-swp-v4-0-833dab5e7288@bootlin.com> To: Pratyush Yadav , Michael Walle , Takahiro Kuwano , Richard Weinberger , Vignesh Raghavendra , Jonathan Corbet Cc: Sean Anderson , Thomas Petazzoni , Steam Lin , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 The "params" variable is used everywhere else, align this particular line of the file to use "params" directly rather than the "nor" pointer. Reviewed-by: Michael Walle Signed-off-by: Miquel Raynal --- drivers/mtd/spi-nor/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/debugfs.c b/drivers/mtd/spi-nor/debugfs.c index d700e0b27182..69830ad43990 100644 --- a/drivers/mtd/spi-nor/debugfs.c +++ b/drivers/mtd/spi-nor/debugfs.c @@ -139,7 +139,7 @@ static int spi_nor_params_show(struct seq_file *s, void= *data) =20 if (!(nor->flags & SNOR_F_NO_OP_CHIP_ERASE)) { string_get_size(params->size, 1, STRING_UNITS_2, buf, sizeof(buf)); - seq_printf(s, " %02x (%s)\n", nor->params->die_erase_opcode, buf); + seq_printf(s, " %02x (%s)\n", params->die_erase_opcode, buf); } =20 seq_puts(s, "\nsector map\n"); --=20 2.53.0