Skip to content

Commit 6be42f0

Browse files
committed
habanalabs/gaudi: size should be printed in decimal
It's more readable for the size to be in decimal. Signed-off-by: Oded Gabbay <[email protected]>
1 parent da105e6 commit 6be42f0

File tree

1 file changed

+2
-2
lines changed
  • drivers/misc/habanalabs/gaudi

1 file changed

+2
-2
lines changed

drivers/misc/habanalabs/gaudi/gaudi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7265,7 +7265,7 @@ static void gaudi_print_sw_config_stream_data(struct hl_device *hdev, u32 stream
72657265

72667266
cq_ptr = (((u64) RREG32(cq_ptr_hi)) << 32) | RREG32(cq_ptr_lo);
72677267
size = RREG32(cq_tsize);
7268-
dev_info(hdev->dev, "stop on err: stream: %u, addr: %#llx, size: %x\n",
7268+
dev_info(hdev->dev, "stop on err: stream: %u, addr: %#llx, size: %u\n",
72697269
stream, cq_ptr, size);
72707270
}
72717271

@@ -7321,7 +7321,7 @@ static void gaudi_print_last_pqes_on_err(struct hl_device *hdev, u32 qid_base,
73217321

73227322
addr = le64_to_cpu(bd->ptr);
73237323

7324-
dev_info(hdev->dev, "stop on err PQE(stream %u): ci: %u, addr: %#llx, size: %x\n",
7324+
dev_info(hdev->dev, "stop on err PQE(stream %u): ci: %u, addr: %#llx, size: %u\n",
73257325
stream, ci, addr, len);
73267326

73277327
/* get previous ci, wrap if needed */

0 commit comments

Comments
 (0)