Antonio Borneo
329b10754a
target: etm: fix check trace status
...
Current code tests a function pointer against a numeric value that
is the same enum type as returned by the pointed function.
Clearly the author was willing to call the function and check its
returned value.
Fix the check by calling the function.
Detected through 'sparse' tool.
Change-Id: I27d18d26c2c797160a397daa32835c199014b70b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
Checkpatch-ignore: GIT_COMMIT_ID
Fixes: 237e894805 ("reworked etm/etb into a generic etm part with trace capture")
Reviewed-on: https://review.openocd.org/c/openocd/+/7599
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz >
2023-05-06 13:34:32 +00:00
..
2023-04-30 14:52:36 +00:00
2023-01-21 22:57:33 +00:00
2023-04-30 14:51:42 +00:00
2023-05-05 22:14:29 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2023-05-05 22:10:18 +00:00
2022-08-14 12:10:14 +00:00
2022-09-18 08:22:01 +00:00
2023-03-25 18:07:51 +00:00
2023-03-25 18:07:04 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2023-02-03 22:48:48 +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
2023-02-03 22:48:48 +00:00
2023-04-30 14:51:42 +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
2023-05-05 22:14:29 +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
2023-03-25 18:12:20 +00:00
2022-07-23 13:58:51 +00:00
2023-03-25 18:13:46 +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
2023-03-25 18:14:30 +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
2023-03-25 18:12:02 +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
2023-01-15 15:01:03 +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
2023-05-05 22:14:29 +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
2023-05-05 22:10:18 +00:00
2023-04-30 14:46:25 +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
2023-01-15 14:54:50 +00:00
2022-12-18 21:52:41 +00:00
2023-05-05 22:14:29 +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
2023-05-06 13:34:32 +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
2023-03-18 21:52:02 +00:00
2022-07-23 13:58:51 +00:00
2023-05-05 22:10:18 +00:00
2022-07-23 13:58:51 +00:00
2022-09-18 08:22:01 +00:00
2023-01-15 14:46:36 +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
2023-05-05 22:10:18 +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
2023-04-07 21:46:36 +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-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:58:51 +00:00
2023-05-05 22:14:11 +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
2023-04-30 14:51:42 +00:00
2023-01-15 14:54:50 +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