Antonio Borneo
a6b0221952
target: cortex_a: fix clang error core.CallAndMessage
...
Clang complains about the variable 'orig_dfsr' that can be used
uninitialized both in cortex_a_read_cpu_memory() and in
cortex_a_write_cpu_memory().
The issue is caused by an incorrect error path that used to jump
through 'goto out'. The code after the label 'out' is specific to
handle the case of an error during memory R/W; it is incorrect to
jump there to handle an error during the initialization that
precedes the memory R/W.
Replace the 'goto out' with 'return retval'.
Remove the label 'out' that is now unused.
Change-Id: Ib4b140221d1c1b63419de109579bde8b63fc2e8c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
Reviewed-on: https://review.openocd.org/c/openocd/+/7393
Tested-by: jenkins
2022-12-17 09:31:29 +00:00
..
2022-10-15 15:57:57 +00:00
2022-11-11 20:10:41 +00:00
2022-10-21 18:14:46 +00:00
2022-10-21 18:16:23 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-12-17 09:30:45 +00:00
2022-08-14 12:10:14 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-27 08:29:00 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:09 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:09 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:09 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-09-13 22:13:58 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-10-08 07:55:35 +00:00
2022-07-30 08:49:47 +00:00
2022-05-14 08:55:52 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2021-03-10 21:34:04 +00:00
2022-09-13 22:13:58 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-11-15 21:39:19 +00:00
2022-09-13 22:03:02 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:15:24 +00:00
2022-09-18 08:22:01 +00:00
2022-09-13 22:03:02 +00:00
2022-09-18 08:22:01 +00:00
2022-09-13 22:03:02 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-12-17 09:31:29 +00:00
2022-08-14 12:10:14 +00:00
2022-12-17 09:30:45 +00:00
2022-09-03 21:26:20 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-23 21:22:09 +00:00
2022-07-23 13:58:51 +00:00
2022-11-11 20:11:22 +00:00
2022-09-13 22:13:58 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-11-11 20:11:03 +00:00
2022-07-23 13:58:51 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-10-08 08:52:45 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:06:38 +00:00
2022-12-17 09:30:45 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-09-13 22:13:58 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2019-11-28 16:59:15 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-12-17 09:29:32 +00:00
2022-09-13 22:13:58 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-07-23 13:58:51 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-09-13 22:02:33 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-10-08 08:53:51 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-08-15 13:23:05 +00:00
2022-12-03 09:27:00 +00:00
2022-09-13 22:02:33 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00
2022-09-18 08:22:01 +00:00
2022-08-14 12:02:38 +00:00