]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs/gaudi: replace hl_poll_timeout with while loop
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Sun, 26 Jun 2022 13:18:40 +0000 (16:18 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:26 +0000 (09:09 +0300)
commitc45359b71863703d70364ee97583b34a8abeefb9
tree6aae9854e4d3ae38fffc16eeb21b5f9d447b68b1
parent5f978a22aec82285446d33a4d4c17367279542ef
habanalabs/gaudi: replace hl_poll_timeout with while loop

in gaudi_scrub_device_mem, replace call to hl_poll_timeout
with a while loop to avoid using dummy variables.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c