diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2025-03-16 11:50:04 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2025-03-29 18:26:22 +0000 |
commit | a86fdfc73548a2b317ed8e61a618ebff2ee4f5e2 (patch) | |
tree | 815a2070217f1bb5a2cb25266ae3366abcfd8cc0 /src/rtos/rtos_nuttx_stackings.c | |
parent | 5773ff9d82a06e7e270dd71fc3d4352815384292 (diff) | |
download | riscv-openocd-a86fdfc73548a2b317ed8e61a618ebff2ee4f5e2.zip riscv-openocd-a86fdfc73548a2b317ed8e61a618ebff2ee4f5e2.tar.gz riscv-openocd-a86fdfc73548a2b317ed8e61a618ebff2ee4f5e2.tar.bz2 |
target: drop last instances of 'target->cmd_name'
The helper function 'target_name()' or, better, the log functions
'LOG_TARGET_xxx(target, ...)' should be used in place of taking
the target name directly from 'target->cmd_name'.
Replace the remaining instances in the code.
While there:
- address some indentation,
- drop trailing punctuation in log message,
- replace one LOG WARNING with LOG_TARGET_WARNING.
Change-Id: Ie6cf4c174ffe91b975c983e4697c735766267041
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8806
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Diffstat (limited to 'src/rtos/rtos_nuttx_stackings.c')
0 files changed, 0 insertions, 0 deletions