]> 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)
commitf5b7ea24469816f122df10a2832bb39d5de84f58
tree6aae9854e4d3ae38fffc16eeb21b5f9d447b68b1
parent08f7655649760a6006e66e5dbad756898bbd1b97
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