]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: print if device is used on FD close
authorOded Gabbay <ogabbay@kernel.org>
Thu, 18 Feb 2021 08:24:02 +0000 (10:24 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 9 Apr 2021 11:09:22 +0000 (14:09 +0300)
commit8de0c89614f2a639b3d1eb0d5acb349099bc807e
treeea5cf99e91963b3e8fd86dae5643a6b931f6dc23
parent50070e4bdcd59039ca1d571b4801f4afdef58e13
habanalabs: print if device is used on FD close

Notify to the user that although he closed the FD, the device is
still in use because there are live CS and/or memory mappings (mmaps).

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/habanalabs.h