mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 02:32:49 -04:00
habanalabs/gaudi: fix print for firmware-alive event
Add missing le{32,64}_to_cpu conversions.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
@@ -7356,9 +7356,10 @@ static void gaudi_print_fw_alive_info(struct hl_device *hdev,
|
||||
{
|
||||
dev_err(hdev->dev,
|
||||
"FW alive report: severity=%s, process_id=%u, thread_id=%u, uptime=%llu seconds\n",
|
||||
(fw_alive->severity == FW_ALIVE_SEVERITY_MINOR) ?
|
||||
"Minor" : "Critical", fw_alive->process_id,
|
||||
fw_alive->thread_id, fw_alive->uptime_seconds);
|
||||
(fw_alive->severity == FW_ALIVE_SEVERITY_MINOR) ? "Minor" : "Critical",
|
||||
le32_to_cpu(fw_alive->process_id),
|
||||
le32_to_cpu(fw_alive->thread_id),
|
||||
le64_to_cpu(fw_alive->uptime_seconds));
|
||||
}
|
||||
|
||||
static void gaudi_print_nic_axi_irq_info(struct hl_device *hdev, u16 event_type,
|
||||
|
||||
Reference in New Issue
Block a user