Skip to content

Commit fd29ba6

Browse files
committed
mtd: rawnand: qcom: Fix wrong indentation
The main "for" loop in qcom_read_status_exec() does guard the following to if's which are badly indented. Fix the indentation. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Link: https://lore.kernel.org/linux-mtd/20230716144612.32132-6-miquel.raynal@bootlin.com
1 parent 3b645b3 commit fd29ba6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/mtd/nand/raw/qcom_nandc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2722,12 +2722,12 @@ static int qcom_read_status_exec(struct nand_chip *chip,
27222722
for (i = 0; i < num_cw; i++) {
27232723
flash_status = le32_to_cpu(nandc->reg_read_buf[i]);
27242724

2725-
if (flash_status & FS_MPU_ERR)
2726-
host->status &= ~NAND_STATUS_WP;
2725+
if (flash_status & FS_MPU_ERR)
2726+
host->status &= ~NAND_STATUS_WP;
27272727

2728-
if (flash_status & FS_OP_ERR ||
2729-
(i == (num_cw - 1) && (flash_status & FS_DEVICE_STS_ERR)))
2730-
host->status |= NAND_STATUS_FAIL;
2728+
if (flash_status & FS_OP_ERR ||
2729+
(i == (num_cw - 1) && (flash_status & FS_DEVICE_STS_ERR)))
2730+
host->status |= NAND_STATUS_FAIL;
27312731
}
27322732

27332733
flash_status = host->status;

0 commit comments

Comments
 (0)