projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4cdccd
)
habanalabs: remove redundant warning message
author
Oded Gabbay
<ogabbay@kernel.org>
Wed, 14 Jul 2021 08:01:21 +0000
(11:01 +0300)
committer
Oded Gabbay
<ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:48 +0000
(09:47 +0300)
This warning is redundant as we will print a notice in case the device
is still in use after the FD was closed. No need to print the same
message per context.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/context.c
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/common/context.c
b/drivers/misc/habanalabs/common/context.c
index 007f3a48601cdb20d674f32e82d51f8cf3e23c79..22978303ad63f192e6b75810b42d68deb2e3ec60 100644
(file)
--- a/
drivers/misc/habanalabs/common/context.c
+++ b/
drivers/misc/habanalabs/common/context.c
@@
-185,9
+185,6
@@
void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx)
{
if (kref_put(&ctx->refcount, hl_ctx_do_release) == 1)
return;
-
- dev_warn(hdev->dev,
- "user process released device but its command submissions are still executing\n");
}
int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx)