diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-05-06 18:16:17 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-07-08 22:08:08 +0100 |
commit | e2315ccffd31757785130c3bf549a87d9be1689a (patch) | |
tree | 697a35dd3b791dfad50c400d47820be07ebc84c8 /src/rtos | |
parent | bf346292942868db6ed8a71e2c4c8b8359d6d300 (diff) | |
download | riscv-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/rtos')
-rw-r--r-- | src/rtos/rtos_mqx_stackings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos_mqx_stackings.c b/src/rtos/rtos_mqx_stackings.c index d18e591..f2d3b22 100644 --- a/src/rtos/rtos_mqx_stackings.c +++ b/src/rtos/rtos_mqx_stackings.c @@ -64,7 +64,7 @@ static const struct stack_register_offset rtos_mqx_arm_v7m_stack_offsets[ARMV7M_ { ARMV7M_R10, 0x20, 32 }, /* r10 */ { ARMV7M_R11, 0x24, 32 }, /* r11 */ { ARMV7M_R12, 0x3C, 32 }, /* r12 */ - { ARMV7M_R13, -2 , 32 }, /* sp */ + { ARMV7M_R13, -2, 32 }, /* sp */ { ARMV7M_R14, 0x28, 32 }, /* lr */ { ARMV7M_PC, 0x44, 32 }, /* pc */ { ARMV7M_xPSR, 0x48, 32 }, /* xPSR */ |