From: Oded Gabbay Date: Thu, 8 Aug 2019 13:48:55 +0000 (+0300) Subject: habanalabs: print to kernel log when reset is finished X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=867b58ac9445570556150ec0cefc752313159f51;p=linux.git habanalabs: print to kernel log when reset is finished Now that we don't print the queue testing messages, we need to print when the reset is finished so whoever looks at the kernel log will know the reset process was finished successfully and the driver is not stuck. Signed-off-by: Oded Gabbay Reviewed-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/habanalabs/device.c b/drivers/misc/habanalabs/device.c index e2e2199416817..41c3ddbca3510 100644 --- a/drivers/misc/habanalabs/device.c +++ b/drivers/misc/habanalabs/device.c @@ -907,6 +907,8 @@ again: else hdev->soft_reset_cnt++; + dev_warn(hdev->dev, "Successfully finished resetting the device\n"); + return 0; out_err: