aboutsummaryrefslogtreecommitdiff
path: root/src/rtos
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2019-05-06 12:18:30 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-05-09 14:39:44 +0100
commit185834ef8aa663faf6761e5c3d7c4a049c88eeab (patch)
tree95f199310cb28f96ffcf96582f5538d36eee4b29 /src/rtos
parent4f459660a9dab3877f6f27127e565dd2b49b4ec7 (diff)
downloadriscv-openocd-185834ef8aa663faf6761e5c3d7c4a049c88eeab.zip
riscv-openocd-185834ef8aa663faf6761e5c3d7c4a049c88eeab.tar.gz
riscv-openocd-185834ef8aa663faf6761e5c3d7c4a049c88eeab.tar.bz2
coding style: add missing space when split strings
Long strings are split across few lines; usually split occurs at the white space between two words. Check that the space between the two words is still present. While there, adjust the amount of space between words. Issue identified by checkpatch script from Linux kernel v5.1 using the command find src/ -type f -exec ./tools/scripts/checkpatch.pl \ -q --types MISSING_SPACE -f {} \; Change-Id: I28b9a65564195ba967051add53d1c848c7b8fb30 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5620 Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Tested-by: jenkins
Diffstat (limited to 'src/rtos')
-rw-r--r--src/rtos/ChibiOS.c2
-rw-r--r--src/rtos/linux.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rtos/ChibiOS.c b/src/rtos/ChibiOS.c
index 8839acc..08b234f 100644
--- a/src/rtos/ChibiOS.c
+++ b/src/rtos/ChibiOS.c
@@ -200,7 +200,7 @@ static int ChibiOS_update_memory_signature(struct rtos *rtos)
/* Currently, we have the inherent assumption that all address pointers
* are 32 bit wide. */
if (signature->ch_ptrsize != sizeof(uint32_t)) {
- LOG_ERROR("ChibiOS/RT target memory signature claims an address"
+ LOG_ERROR("ChibiOS/RT target memory signature claims an address "
"width unequal to 32 bits!");
free(signature);
return -1;
diff --git a/src/rtos/linux.c b/src/rtos/linux.c
index 0f18d17..e85a3bd 100644
--- a/src/rtos/linux.c
+++ b/src/rtos/linux.c
@@ -1379,8 +1379,8 @@ static int linux_thread_packet(struct connection *connection, char const *packet
target->rtos->
current_threadid)
&& (target->rtos->current_threadid != -1))
- LOG_WARNING("WARNING! current GDB thread do not match"
- "current thread running."
+ LOG_WARNING("WARNING! current GDB thread do not match "
+ "current thread running. "
"Switch thread in GDB to threadid %d",
(int)ct->threadid);