[U-Boot] [PATCH 07/12] usb: eth: r8152_fw: fix indentation

Marek Vasut marex at denx.de
Wed Nov 16 12:20:04 CET 2016


On 11/16/2016 01:50 AM, Andre Przywara wrote:
> Apparently the indentation is wrong here, fix this to avoid compiler
> warnings and puzzled readers.
> 
> Pointed out by GCC 6.2's -Wmisleading-indentation warning.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Reviewed-by: Marek Vasut <marex at denx.de>

> ---
>  drivers/usb/eth/r8152_fw.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c
> index b6c8228..81c3754 100644
> --- a/drivers/usb/eth/r8152_fw.c
> +++ b/drivers/usb/eth/r8152_fw.c
> @@ -871,10 +871,10 @@ void r8153_firmware(struct r8152 *tp)
>  	} else if (tp->version == RTL_VER_04) {
>  		r8153_pre_ram_code(tp, 0x7001);
>  
> -	for (i = 0; i < ARRAY_SIZE(r8153_ram_code_bc); i += 2)
> -		ocp_write_word(tp, MCU_TYPE_PLA,
> -			       r8153_ram_code_bc[i],
> -			       r8153_ram_code_bc[i+1]);
> +		for (i = 0; i < ARRAY_SIZE(r8153_ram_code_bc); i += 2)
> +			ocp_write_word(tp, MCU_TYPE_PLA,
> +				       r8153_ram_code_bc[i],
> +				       r8153_ram_code_bc[i+1]);
>  
>  		r8153_post_ram_code(tp);
>  
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list