[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200704195116.19669-1-oshpigelman@habana.ai>
Date: Sat, 4 Jul 2020 22:51:16 +0300
From: Omer Shpigelman <oshpigelman@...ana.ai>
To: oded.gabbay@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] habanalbas: rephrase error message
Rephrase F/W error message to make it more understandable to ordinary
users.
Signed-off-by: Omer Shpigelman <oshpigelman@...ana.ai>
---
drivers/misc/habanalabs/firmware_if.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/misc/habanalabs/firmware_if.c b/drivers/misc/habanalabs/firmware_if.c
index baf790cf4b78..171baa2b56b0 100644
--- a/drivers/misc/habanalabs/firmware_if.c
+++ b/drivers/misc/habanalabs/firmware_if.c
@@ -566,7 +566,8 @@ int hl_fw_init_cpu(struct hl_device *hdev, u32 cpu_boot_status_reg,
"Device reports FIT image is corrupted\n");
else
dev_err(hdev->dev,
- "Device failed to load, %d\n", status);
+ "Failed to load firmware to device, %d\n",
+ status);
rc = -EIO;
goto out;
--
2.17.1
Powered by blists - more mailing lists