diff options
author | Tomer Tayar <[email protected]> | 2021-12-28 13:47:18 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2022-02-28 14:22:01 +0200 |
commit | aff5d9d378e77a45f33cd933b8b8ddac8fe43528 (patch) | |
tree | 9668a32f763b5d35c0a4c3bb2e252ceeb3227a00 /tools/perf/scripts/python | |
parent | 085686fb8491a7cbf6a7260d5b9d4169a041c340 (diff) |
habanalabs: check the return value of hl_cs_poll_fences()
As part of handling of the multi-CS wait ioctl, hl_cs_poll_fences() is
called in a "while (true)" loop. This function can fail, but the
checking of its return value was missed.
Add this check and exit the loop in case of a failure.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions