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
This commit is contained in:
@@ -1143,7 +1143,7 @@ static int stm8_read_core_reg(struct target *target, unsigned int num)
|
||||
return ERROR_COMMAND_SYNTAX_ERROR;
|
||||
|
||||
reg_value = stm8->core_regs[num];
|
||||
LOG_DEBUG("read core reg %i value 0x%" PRIx32 "", num , reg_value);
|
||||
LOG_DEBUG("read core reg %i value 0x%" PRIx32 "", num, reg_value);
|
||||
buf_set_u32(stm8->core_cache->reg_list[num].value, 0, 32, reg_value);
|
||||
stm8->core_cache->reg_list[num].valid = true;
|
||||
stm8->core_cache->reg_list[num].dirty = false;
|
||||
@@ -1163,7 +1163,7 @@ static int stm8_write_core_reg(struct target *target, unsigned int num)
|
||||
|
||||
reg_value = buf_get_u32(stm8->core_cache->reg_list[num].value, 0, 32);
|
||||
stm8->core_regs[num] = reg_value;
|
||||
LOG_DEBUG("write core reg %i value 0x%" PRIx32 "", num , reg_value);
|
||||
LOG_DEBUG("write core reg %i value 0x%" PRIx32 "", num, reg_value);
|
||||
stm8->core_cache->reg_list[num].valid = true;
|
||||
stm8->core_cache->reg_list[num].dirty = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user