From: Andre Przywara Date: Wed, 16 Nov 2016 00:50:11 +0000 (+0000) Subject: usb: eth: r8152_fw: fix indentation X-Git-Tag: v2017.01-rc1~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=566a965af1d8c6151bb7c11cb55c9bd32cfeae8c;p=oweals%2Fu-boot.git usb: eth: r8152_fw: fix indentation 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 Reviewed-by: Marek Vasut Acked-by: Joe Hershberger --- diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c index b6c82283a8..81c3754550 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);