Commit 6fc69ca8 authored by Oded Gabbay's avatar Oded Gabbay

accel/habanalabs: print device name when it is removed

Notifies the user which device was removed. It is important in
a server with multiple devices.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Reviewed-by: default avatarOfir Bitton <obitton@habana.ai>
parent e5873f6b
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment