Skip to contentSkip to conversation

mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment

PATCH Applied Jonathan Neuschäfer 3 participants 3 messages Nov 1, 2022 – Nov 21, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc comment

It doesn't make sense to put "set" on its own line like that.

---
 drivers/mtd/spi-nor/sfdp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/mtd/spi-nor/sfdp.c +1 -2
index 2257f1b4c2e2d..3e0bb383ab8e2 100644
@@ -135,8 +135,7 @@ struct sfdp_4bait {
 /**
  * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
  *			addr_nbytes and read_dummy members of the struct spi_nor
- *			should be previously
- * set.
+ *			should be previously set.
  * @nor:	pointer to a 'struct spi_nor'
  * @addr:	offset in the serial flash memory
  * @len:	number of bytes to read

--
2.35.1

maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jonathan Neuschäfer

It doesn't make sense to put "set" on its own line like that.

Quoted 21 lines
---
 drivers/mtd/spi-nor/sfdp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/mtd/spi-nor/sfdp.c +1 -3
index 2257f1b4c2e2d..3e0bb383ab8e2 100644
@@ -135,8 +135,7 @@ struct sfdp_4bait {
 /**
  * spi_nor_read_raw() - raw read of serial flash memory. read_opcode,
  *			addr_nbytes and read_dummy members of the struct spi_nor
- *			should be previously
- * set.
+ *			should be previously set.
  * @nor:	pointer to a 'struct spi_nor'
  * @addr:	offset in the serial flash memory
  * @len:	number of bytes to read
--

2.35.1

Signature · 2 lines
Regards,
Pratyush Yadav