summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/brcmnand/brcmnand.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-12-09 14:44:23 -0700
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-21 20:00:32 +0100
commit0e7ca83e82d021c928dadf4c13c137d57337540d (patch)
treee0dae41e1cc1e9c2cd0c7914fcad1178876ead5e /drivers/mtd/nand/raw/brcmnand/brcmnand.c
parent73b265ae7bdbb5f4ce13b2afc53afa7c14cd0980 (diff)
downloadlinux-0e7ca83e82d021c928dadf4c13c137d57337540d.tar.bz2
mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock
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: a8de85d55700 ("[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>
Diffstat (limited to 'drivers/mtd/nand/raw/brcmnand/brcmnand.c')
0 files changed, 0 insertions, 0 deletions