aboutsummaryrefslogtreecommitdiff
path: root/src/target/mips64.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2019-05-06 18:16:17 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-07-08 22:08:08 +0100
commite2315ccffd31757785130c3bf549a87d9be1689a (patch)
tree697a35dd3b791dfad50c400d47820be07ebc84c8 /src/target/mips64.c
parentbf346292942868db6ed8a71e2c4c8b8359d6d300 (diff)
downloadriscv-openocd-e2315ccffd31757785130c3bf549a87d9be1689a.zip
riscv-openocd-e2315ccffd31757785130c3bf549a87d9be1689a.tar.gz
riscv-openocd-e2315ccffd31757785130c3bf549a87d9be1689a.tar.bz2
coding style: fix space separation
The checkpatch script from Linux kernel v5.1 complains about using space before comma, before semicolon and between function name and open parenthesis. Fix them! Issue identified using the command find src/ -type f -exec ./tools/scripts/checkpatch.pl \ -q --types SPACING -f {} \; The patch only changes amount and position of whitespace, thus the following commands show empty diff git diff -w git log -w -p git log -w --stat Change-Id: I1062051d7f97d59922847f5061c6d6811742d30e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5627 Tested-by: jenkins
Diffstat (limited to 'src/target/mips64.c')
-rw-r--r--src/target/mips64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips64.c b/src/target/mips64.c
index 6a7c425..347cdfc 100644
--- a/src/target/mips64.c
+++ b/src/target/mips64.c
@@ -283,7 +283,7 @@ static int mips64_write_core_reg(struct target *target, int num)
reg_value = buf_get_u64(mips64->core_cache->reg_list[num].value, 0, 64);
mips64->core_regs[num] = reg_value;
- LOG_DEBUG("write core reg %i value 0x%" PRIx64 "", num , reg_value);
+ LOG_DEBUG("write core reg %i value 0x%" PRIx64 "", num, reg_value);
mips64->core_cache->reg_list[num].valid = 1;
mips64->core_cache->reg_list[num].dirty = 0;