summaryrefslogtreecommitdiffstats
path: root/drivers/misc/vmw_balloon.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2021-12-28 12:47:18 +0100
committerOded Gabbay <ogabbay@kernel.org>2022-02-28 13:22:01 +0100
commitaff5d9d378e77a45f33cd933b8b8ddac8fe43528 (patch)
tree9668a32f763b5d35c0a4c3bb2e252ceeb3227a00 /drivers/misc/vmw_balloon.c
parentMerge 5.17-rc6 into char-misc-next (diff)
downloadlinux-aff5d9d378e77a45f33cd933b8b8ddac8fe43528.tar.xz
linux-aff5d9d378e77a45f33cd933b8b8ddac8fe43528.zip
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>
Diffstat (limited to 'drivers/misc/vmw_balloon.c')
0 files changed, 0 insertions, 0 deletions