From 7c6f6d79bc6a60a3e91da5056c15118a09252297 Mon Sep 17 00:00:00 2001 From: Ryan Macdonald Date: Thu, 5 Apr 2018 17:59:43 -0700 Subject: [PATCH] Fixed more style issues --- src/target/riscv/riscv-013.c | 3 ++- src/target/riscv/riscv.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 988b69111..c926180e0 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -2841,7 +2841,8 @@ static int get_max_sbaccess(struct target *target) return ERROR_FAIL; } -static int riscv013_test_sba_config_reg(struct target *target, target_addr_t legal_address, target_addr_t illegal_address) +static int riscv013_test_sba_config_reg(struct target *target, + target_addr_t legal_address, target_addr_t illegal_address) { LOG_INFO("Testing System Bus Access as defined by RISC-V Debug Spec v0.13"); diff --git a/src/target/riscv/riscv.h b/src/target/riscv/riscv.h index ec0a21c38..8ac4f86cb 100644 --- a/src/target/riscv/riscv.h +++ b/src/target/riscv/riscv.h @@ -117,7 +117,7 @@ typedef struct { int (*dmi_read)(struct target *target, uint32_t *value, uint32_t address); int (*dmi_write)(struct target *target, uint32_t address, uint32_t value); - int (*test_sba_config_reg)(struct target *target, target_addr_t legal_address, + int (*test_sba_config_reg)(struct target *target, target_addr_t legal_address, target_addr_t illegal_address); } riscv_info_t;