From 50cd4203a5edb7a2b6d2c6c6ccdf734a722c2e77 Mon Sep 17 00:00:00 2001 From: Ryan Macdonald Date: Wed, 11 Apr 2018 14:41:00 -0700 Subject: [PATCH] Fix more style issues with previous commit --- src/target/riscv/riscv-013.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 7d898019b..0f622f3a0 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2921,7 +2921,7 @@ static int riscv013_test_sba_config_reg(struct target *target, if (test_passed) LOG_INFO("System Bus Access Test 1: Simple write/read test PASSED."); - /* Test 2: Address autoincrement test */ + /* Test 2: Address autoincrement test */ target_addr_t curr_addr; target_addr_t prev_addr; test_passed = true; @@ -3099,7 +3099,7 @@ void write_memory_sba_simple(struct target *target, target_addr_t addr, /* Write SBDATA registers starting with highest address, since write to * SBDATA0 triggers write */ - for (int i = write_size-1; i >= 0; i--) + for (int i = write_size-1; i >= 0; i--) dmi_write(target, DMI_SBDATA0+i, write_data[i]); }