Commit da6def8
tests: benchmarks: timeout_mgmt: use z_try_abort_timeout()
Commits 805b2af and 387b387 replaced the kernel-internal
z_abort_timeout() with z_try_abort_timeout(), which tracks in-flight
timeouts and returns 0, -EINVAL or -EAGAIN. Every in-tree caller was
migrated except this benchmark, which still called the function that no
longer exists:
error: implicit declaration of function 'z_abort_timeout'
Update the three call sites. The return value is deliberately discarded:
the benchmark aborts timeouts it has just installed itself and measures
the cost of the operation, not its outcome.
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Anas Nashif <anas.nashif@intel.com>1 parent f1521ed commit da6def8
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments