projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5873f6
)
accel/habanalabs: print device name when it is removed
author
Oded Gabbay
<ogabbay@kernel.org>
Thu, 21 Sep 2023 12:25:26 +0000
(15:25 +0300)
committer
Oded Gabbay
<ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:23 +0000
(12:37 +0300)
Notifies the user which device was removed. It is important in
a server with multiple devices.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
drivers/accel/habanalabs/common/device.c
patch
|
blob
|
history
diff --git
a/drivers/accel/habanalabs/common/device.c
b/drivers/accel/habanalabs/common/device.c
index b1d330cd253716d480665290a90d00b5a66cf41a..9711e8fc979d9ade05bdf96bcba300c4ec27432c 100644
(file)
--- a/
drivers/accel/habanalabs/common/device.c
+++ b/
drivers/accel/habanalabs/common/device.c
@@
-2420,7
+2420,7
@@
void hl_device_fini(struct hl_device *hdev)
u64 reset_sec;
int i, rc;
- dev_info(hdev->dev, "Removing device
\n"
);
+ dev_info(hdev->dev, "Removing device
%s\n", dev_name(&(hdev)->pdev->dev)
);
hdev->device_fini_pending = 1;
flush_delayed_work(&hdev->device_reset_work.reset_work);