From nobody Tue Feb 10 22:56:39 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 E14703469F2 for ; Fri, 14 Nov 2025 17:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763142812; cv=none; b=IUEJmJSSeHBYmwEkjEwBYBwifHktU9Mo4TGBeaytyuza+sMPzGtiS5giXBYciGOUKtNyeccWXCJa6y/Sfmmq58cdskW4VrG8YgzW6NlNBW1A4UT607skb6+HsQ+iukzg1qemgviBdZh1zy7rYMXEHa8h46SiRt/8qEmXW+XrWO0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763142812; c=relaxed/simple; bh=bRX9LY+Q1iqsyAH4FALw3yc7eYGwACPnJJ4Nao3vOKc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CTJ9vyPWCdbXqmFo8FIkxLUJTfL6FztSaq6qOgD/DEW6lzxQfD/Eg7hH3z2W672MGW0KjSiJ74As9CeRAWf4XeuNPPgMVf3i9O7wCdIS0Nc5kiunbIHqbgWvxW7Puzi7hj67RLaaFvOtKFfZRPgLDYiNLZjbwRje0iVMY2Eseec= 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=Vb1V1oaR; arc=none smtp.client-ip=185.246.84.56 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="Vb1V1oaR" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 4D1011A1AAF; Fri, 14 Nov 2025 17:53:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 169AD6060E; Fri, 14 Nov 2025 17:53:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B774A10371988; Fri, 14 Nov 2025 18:53:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1763142807; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=FyKaGqejIQ8vnBMw6FxDpLNsf0AdinygMdI3vez7HK4=; b=Vb1V1oaRW5Locg11iyDdGEr4Lx0iDRSujdHc1874HTImFg1Gx0Il4/SD7R8alOW4+Wb1D/ 0InLcSCyhwPTHlIY1qHtZRhnRcdIsGkvV5DJ7N0HSD+977l2JTeBrbi95iBqbFoJdCIBma 8fRoyTHbzmGdTBcGGX9PybmYLDrfwlv2jgiIHjO0D8EslMR1W0D8WeWLj1dZwVI1chzWhQ tn44LHSk3pE3F4CsvCZgDH9UAxYAlEz/bJuNVqaMlUssx5c/6Ch7a4ljQDdewyDLYtsDF5 nRSLCzHT5ysdlPRR74GWGRIJgQ44Ps+73+oUThkqrW5cdj35zi5XpU8zajlm1g== From: Miquel Raynal Date: Fri, 14 Nov 2025 18:53:05 +0100 Subject: [PATCH 04/19] 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: <20251114-winbond-v6-18-rc1-spi-nor-swp-v1-4-487bc7129931@bootlin.com> References: <20251114-winbond-v6-18-rc1-spi-nor-swp-v1-0-487bc7129931@bootlin.com> In-Reply-To: <20251114-winbond-v6-18-rc1-spi-nor-swp-v1-0-487bc7129931@bootlin.com> To: Tudor Ambarus , Pratyush Yadav , Michael Walle , 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.2 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. Signed-off-by: Miquel Raynal Reviewed-by: Michael Walle --- 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 d700e0b271822d034e56903e7b437d89c653f3e7..69830ad4399009185983549647f= 3be61ad5d1c84 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.51.0