mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
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: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Ofir Bitton <obitton@habana.ai>
This commit is contained in:
parent
e5873f6b91
commit
6fc69ca84a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user