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
This commit is contained in:
parent
4f459660a9
commit
185834ef8a
|
@ -3726,7 +3726,7 @@ static const struct command_registration at91sam3_exec_command_handlers[] = {
|
|||
.name = "info",
|
||||
.handler = sam3_handle_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Print information about the current at91sam3 chip"
|
||||
.help = "Print information about the current at91sam3 chip "
|
||||
"and its flash configuration.",
|
||||
.usage = "",
|
||||
},
|
||||
|
|
|
@ -3206,7 +3206,7 @@ static const struct command_registration at91sam4_exec_command_handlers[] = {
|
|||
.name = "info",
|
||||
.handler = sam4_handle_info_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Print information about the current at91sam4 chip"
|
||||
.help = "Print information about the current at91sam4 chip "
|
||||
"and its flash configuration.",
|
||||
.usage = "",
|
||||
},
|
||||
|
|
|
@ -1219,9 +1219,9 @@ static const struct command_registration command_subcommand_handlers[] = {
|
|||
.mode = COMMAND_ANY,
|
||||
.jim_handler = jim_command_mode,
|
||||
.usage = "[command_name ...]",
|
||||
.help = "Returns the command modes allowed by a command:"
|
||||
"'any', 'config', or 'exec'. If no command is"
|
||||
"specified, returns the current command mode. "
|
||||
.help = "Returns the command modes allowed by a command: "
|
||||
"'any', 'config', or 'exec'. If no command is "
|
||||
"specified, returns the current command mode. "
|
||||
"Returns 'unknown' if an unknown command is given. "
|
||||
"Command can be multiple tokens.",
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -1007,7 +1007,7 @@ static const struct command_registration nds32_exec_command_handlers[] = {
|
|||
.handler = handle_nds32_global_stop_command,
|
||||
.mode = COMMAND_ANY,
|
||||
.usage = "['on'|'off']",
|
||||
.help = "turn on/off global stop. After turning on, every load/store"
|
||||
.help = "turn on/off global stop. After turning on, every load/store "
|
||||
"instructions will be stopped to check memory access.",
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1858,13 +1858,13 @@ static const struct command_registration riscv_exec_command_handlers[] = {
|
|||
.name = "test_sba_config_reg",
|
||||
.handler = riscv_test_sba_config_reg,
|
||||
.mode = COMMAND_ANY,
|
||||
.usage = "riscv test_sba_config_reg legal_address num_words"
|
||||
.usage = "riscv test_sba_config_reg legal_address num_words "
|
||||
"illegal_address run_sbbusyerror_test[on/off]",
|
||||
.help = "Perform a series of tests on the SBCS register."
|
||||
"Inputs are a legal, 128-byte aligned address and a number of words to"
|
||||
"read/write starting at that address (i.e., address range [legal address,"
|
||||
"legal_address+word_size*num_words) must be legally readable/writable)"
|
||||
", an illegal, 128-byte aligned address for error flag/handling cases,"
|
||||
.help = "Perform a series of tests on the SBCS register. "
|
||||
"Inputs are a legal, 128-byte aligned address and a number of words to "
|
||||
"read/write starting at that address (i.e., address range [legal address, "
|
||||
"legal_address+word_size*num_words) must be legally readable/writable), "
|
||||
"an illegal, 128-byte aligned address for error flag/handling cases, "
|
||||
"and whether sbbusyerror test should be run."
|
||||
},
|
||||
{
|
||||
|
|
|
@ -6232,7 +6232,7 @@ static const struct command_registration target_exec_command_handlers[] = {
|
|||
.name = "halt",
|
||||
.handler = handle_halt_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "request target to halt, then wait up to the specified"
|
||||
.help = "request target to halt, then wait up to the specified "
|
||||
"number of milliseconds (default 5000) for it to complete",
|
||||
.usage = "[milliseconds]",
|
||||
},
|
||||
|
@ -6248,7 +6248,7 @@ static const struct command_registration target_exec_command_handlers[] = {
|
|||
.handler = handle_reset_command,
|
||||
.mode = COMMAND_EXEC,
|
||||
.usage = "[run|halt|init]",
|
||||
.help = "Reset all targets into the specified mode."
|
||||
.help = "Reset all targets into the specified mode. "
|
||||
"Default reset mode is run, if not given.",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue