]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
target: arm_cti: fix return values in handle_cti_dump()
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 May 2025 21:52:30 +0000 (23:52 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 25 May 2025 12:42:59 +0000 (12:42 +0000)
commit8b47a0736b249e0c2574578a184d962294e03b90
treef04d5fcd9f834c2295b40b56f3bd0569e1e02287
parent4c1e2105c4e5ad3188dae6e62ce019df15c7e52a
target: arm_cti: fix return values in handle_cti_dump()

Since the initial commit f444c57bf2d6 ("arm_cti: add cti command
group") the helper handle_cti_dump() return JIM error codes.

Fix it by returning standard OpenOCD error codes.

Change-Id: Ia36b82083d213aff90fe22fcfe7fbe26172806a3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8904
Tested-by: jenkins
src/target/arm_cti.c