Thread (14 messages) 14 messages, 7 authors, 2025-02-20

[PATCH net-next 2/4] net/mlx5: Prefix temperature event bitmap with '0x' for clarity

STALE590d

From: Tariq Toukan <tariqt@nvidia.com>
Date: 2025-02-13 09:47:45
Also in: linux-rdma, lkml
Subsystem: mellanox mlx5 core vpi driver, networking drivers, the rest · Maintainers: Saeed Mahameed, Leon Romanovsky, Tariq Toukan, Mark Bloch, Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

From: Shahar Shitrit <redacted>

Prepend '0x' to the sensor bitmap in the warning message to clearly
indicate that the bitmap is in hexadecimal format.

Signed-off-by: Shahar Shitrit <redacted>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/events.c b/drivers/net/ethernet/mellanox/mlx5/core/events.c
index e8beb6289d01..a661aa522a9a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/events.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/events.c
@@ -167,7 +167,7 @@ static int temp_warn(struct notifier_block *nb, unsigned long type, void *data)
 
 	if (net_ratelimit())
 		mlx5_core_warn(events->dev,
-			       "High temperature on sensors with bit set %llx %llx",
+			       "High temperature on sensors with bit set %#llx %#llx",
 			       value_msb, value_lsb);
 
 	return NOTIFY_OK;
-- 
2.45.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help