Files
linux/drivers
Tomer Tayar aff5d9d378 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 <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2022-02-28 14:22:01 +02:00
..
2022-02-18 19:36:36 +01:00
2022-02-17 17:05:07 -08:00
2022-02-28 07:30:32 +01:00
2022-02-28 07:30:32 +01:00
2022-02-28 07:30:32 +01:00
2022-02-28 07:30:32 +01:00
2022-01-22 08:33:37 +02:00
2022-02-28 07:30:32 +01:00
2022-02-28 07:30:32 +01:00
2022-02-09 08:04:44 +01:00
2022-02-02 10:33:04 +05:30
2022-01-22 08:33:37 +02:00
2021-12-29 10:54:50 +01:00
2022-01-22 08:33:37 +02:00
2022-02-09 08:04:43 +01:00
2022-02-09 08:04:43 +01:00