Skip to content

Commit 6fc69ca

Browse files
committed
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 <[email protected]> Reviewed-by: Ofir Bitton <[email protected]>
1 parent e5873f6 commit 6fc69ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/accel/habanalabs/common/device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2420,7 +2420,7 @@ void hl_device_fini(struct hl_device *hdev)
24202420
u64 reset_sec;
24212421
int i, rc;
24222422

2423-
dev_info(hdev->dev, "Removing device\n");
2423+
dev_info(hdev->dev, "Removing device %s\n", dev_name(&(hdev)->pdev->dev));
24242424

24252425
hdev->device_fini_pending = 1;
24262426
flush_delayed_work(&hdev->device_reset_work.reset_work);

0 commit comments

Comments
 (0)