[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3712b8b-9830-5be1-3a31-97daa44f477f@microchip.com>
Date: Thu, 10 Feb 2022 03:11:08 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <michael@...le.cc>, <linux-mtd@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <p.yadav@...com>, <miquel.raynal@...tlin.com>, <richard@....at>,
<vigneshr@...com>
Subject: Re: [PATCH v1 06/14] mtd: spi-nor: xilinx: correct the debug message
On 2/2/22 16:58, Michael Walle wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> We are reading the status register, there is no XRDSR register.
don't use the commit message as a continuation of the subject. Tell in the
commit message what you're doing and why it is worth taking it.
with that fixed:
Reviewed-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
>
> Signed-off-by: Michael Walle <michael@...le.cc>
> ---
> drivers/mtd/spi-nor/xilinx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/xilinx.c b/drivers/mtd/spi-nor/xilinx.c
> index 3e85530df1e4..9e3ed9609250 100644
> --- a/drivers/mtd/spi-nor/xilinx.c
> +++ b/drivers/mtd/spi-nor/xilinx.c
> @@ -87,7 +87,7 @@ static int xilinx_read_sr(struct spi_nor *nor, u8 *sr)
> }
>
> if (ret)
> - dev_dbg(nor->dev, "error %d reading XRDSR\n", ret);
> + dev_dbg(nor->dev, "error %d reading SR\n", ret);
>
> return ret;
> }
> --
> 2.30.2
>
Powered by blists - more mailing lists