]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/habanalabs: remove old interface variation of 'access_ok()'
authorIlia Levi <ilia.levi@intel.com>
Mon, 19 Aug 2024 09:13:07 +0000 (12:13 +0300)
committerKoby Elbaz <koby.elbaz@intel.com>
Thu, 25 Sep 2025 06:09:29 +0000 (09:09 +0300)
commit0668db41b5d8a834a04be3b281fa9452dcf3dc18
tree1fbcb08e7c5bf03c736f8a558e6f1bc7c504acbc
parent0529b191ac9c907225593e12a68f1718a60b2fba
accel/habanalabs: remove old interface variation of 'access_ok()'

The access_ok() API no longer requires the VERIFY_WRITE argument,
and the use of the old interface with VERIFY_WRITE is deprecated.

Clean up the habanalabs memory manager to use the modern access_ok()
interface consistently. This removes old #ifdef guards and aligns the
driver with current upstream kernel APIs.

Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Koby Elbaz <koby.elbaz@intel.com>
Signed-off-by: Koby Elbaz <koby.elbaz@intel.com>
drivers/accel/habanalabs/common/memory_mgr.c