Skip to content

Commit fd8d2fa

Browse files
dlibemanogabbay
authored andcommitted
accel/habanalabs: fix error print
The unmasking is for event and it can be other event than RAZWI. Signed-off-by: Dani Liberman <dliberman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
1 parent c8c062e commit fd8d2fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/accel/habanalabs/common/firmware_if.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ int hl_fw_unmask_irq(struct hl_device *hdev, u16 event_type)
501501
0, &result);
502502

503503
if (rc)
504-
dev_err(hdev->dev, "failed to unmask RAZWI IRQ %d", event_type);
504+
dev_err(hdev->dev, "failed to unmask event %d", event_type);
505505

506506
return rc;
507507
}
@@ -540,7 +540,7 @@ int hl_fw_unmask_irq_arr(struct hl_device *hdev, const u32 *irq_arr,
540540
total_pkt_size, 0, &result);
541541

542542
if (rc)
543-
dev_err(hdev->dev, "failed to unmask IRQ array\n");
543+
dev_err(hdev->dev, "failed to unmask event array\n");
544544

545545
kfree(pkt);
546546

0 commit comments

Comments
 (0)