From 52cdf286cae5bf31b1d55730c5020b8920f79db2 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 16 Nov 2017 15:58:08 -0800 Subject: [PATCH] Add missing return. Change-Id: Ida32482903cdfd8eeb043088e84bb1f4f5ac673c --- src/target/riscv/riscv-013.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 8f7dc6adf..1768b6220 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -877,6 +877,7 @@ static int scratch_find(struct target *target, ~(alignment - 1); scratch->memory_space = SPACE_DMI_RAM; scratch->debug_address = scratch->hart_address; + return ERROR_OK; } LOG_ERROR("Couldn't find %d bytes of scratch RAM to use. Please configure "