[patch] mtd: cfi: indent some if statements

Jingoo Han jg1.han at samsung.com
Wed May 14 16:08:25 PDT 2014


On Wednesday, May 14, 2014 11:19 PM, Dan Carpenter wrote:
> 
> The break statements should be indented another tab.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Reviewed-by: Jingoo Han <jg1.han at samsung.com>

Best regards,
Jingoo Han

> 
> diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c
> index 6293855..423666b 100644
> --- a/drivers/mtd/chips/cfi_cmdset_0020.c
> +++ b/drivers/mtd/chips/cfi_cmdset_0020.c
> @@ -961,7 +961,7 @@ static int cfi_staa_erase_varsize(struct mtd_info *mtd,
>  			chipnum++;
> 
>  			if (chipnum >= cfi->numchips)
> -			break;
> +				break;
>  		}
>  	}
> 
> @@ -1170,7 +1170,7 @@ static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
>  			chipnum++;
> 
>  			if (chipnum >= cfi->numchips)
> -			break;
> +				break;
>  		}
>  	}
>  	return 0;
> diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
> index 08049f6..09c79bd 100644
> --- a/drivers/mtd/chips/cfi_util.c
> +++ b/drivers/mtd/chips/cfi_util.c
> @@ -239,7 +239,7 @@ int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
>  			chipnum++;
> 
>  			if (chipnum >= cfi->numchips)
> -			break;
> +				break;
>  		}
>  	}
> 




More information about the linux-mtd mailing list