linux-stable/drivers/mtd/nand
Nathan Chancellor ad13249bfa mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock
commit 0e7ca83e82 upstream.

Clang warns:

../drivers/mtd/nand/onenand/onenand_base.c:1269:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        while (!ret) {
        ^
../drivers/mtd/nand/onenand/onenand_base.c:1266:2: note: previous
statement is here
        if (column + thislen > writesize)
        ^
1 warning generated.

This warning occurs because there is a space before the tab of the while
loop. There are spaces at the beginning of a lot of the lines in this
block, remove them so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

Fixes: a8de85d557 ("[MTD] OneNAND: Implement read-while-load")
Link: https://github.com/ClangBuiltLinux/linux/issues/794
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:33:26 -05:00
..
onenand mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock 2020-02-14 16:33:26 -05:00
raw mtd: rawnand: atmel: fix possible object reference leak 2019-12-05 09:21:33 +01:00
spi mtd: spinand: read returns badly if the last page has bitflips 2019-07-26 09:14:30 +02:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-12-08 12:59:06 +01:00
core.c
Kconfig
Makefile