From 3516fd50197acaeff8e933d0e67028b6582c1cb5 Mon Sep 17 00:00:00 2001 From: Ryan Macdonald Date: Fri, 31 Aug 2018 14:29:09 -0700 Subject: Style fixes Signed-off-by: Ryan Macdonald --- src/target/riscv/riscv-013.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index ed1127e..c1cae62 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -3008,7 +3008,8 @@ static int riscv013_test_sba_config_reg(struct target *target, } if (get_field(sbcs, DMI_SBCS_SBVERSION) != 1) { - LOG_ERROR("System Bus Access unsupported SBVERSION (%d). Only version 1 is supported.", get_field(sbcs, DMI_SBCS_SBVERSION)); + LOG_ERROR("System Bus Access unsupported SBVERSION (%d). Only version 1 is supported.", + get_field(sbcs, DMI_SBCS_SBVERSION)); return ERROR_FAIL; } @@ -3224,8 +3225,7 @@ static int riscv013_test_sba_config_reg(struct target *target, if (tests_failed == 0) { LOG_INFO("ALL TESTS PASSED"); return ERROR_OK; - } - else { + } else { LOG_ERROR("%d TESTS FAILED", tests_failed); return ERROR_FAIL; } @@ -3854,8 +3854,7 @@ int riscv013_test_compliance(struct target *target) if (total_tests == passed_tests) { LOG_INFO("ALL TESTS PASSED\n"); return ERROR_OK; - } - else { + } else { LOG_INFO("%d TESTS FAILED\n", failed_tests); return ERROR_FAIL; } -- cgit v1.1