[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPie167O32Jc6BHw@hovoldconsulting.com>
Date: Wed, 22 Oct 2025 11:07:35 +0200
From: Johan Hovold <johan@...nel.org>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: Richard Genoud <richard.genoud@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
Wentao Liang <vulab@...as.ac.cn>,
Maxime Ripard <mripard@...nel.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 04/15] mtd: rawnand: sunxi: introduce reg_user_data in
sunxi_nfc_caps
On Wed, Oct 22, 2025 at 10:54:02AM +0200, Miquel Raynal wrote:
> On 20/10/2025 at 12:13:00 +02, Richard Genoud <richard.genoud@...tlin.com> wrote:
> > @@ -723,8 +726,8 @@ static void sunxi_nfc_hw_ecc_get_prot_oob_bytes(struct nand_chip *nand, u8 *oob,
> > {
> > struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller);
> >
> > - sunxi_nfc_user_data_to_buf(readl(nfc->regs + NFC_REG_USER_DATA(step)),
> > - oob);
> > + sunxi_nfc_user_data_to_buf(readl(nfc->regs +
> > + NFC_REG_USER_DATA(nfc, step)),
> > oob);
>
> Minor nit, column limit is 100 now, so typically for this kind of
> situation everything would fit on a single line.
Just a drive-by comment:
The preferred limit is still 80 chars, unless exceeding it significantly
increases readability.
I guess here such an exception may be warranted.
Johan
Powered by blists - more mailing lists