* [PATCH v1 1/1] drm/amd/display: Use %*ph to print small buffer
@ 2026-06-03 8:21 Andy Shevchenko
0 siblings, 0 replies; only message in thread
From: Andy Shevchenko @ 2026-06-03 8:21 UTC (permalink / raw)
To: Alex Deucher, amd-gfx, dri-devel, linux-kernel
Cc: Harry Wentland, Leo Li, Rodrigo Siqueira, Christian König,
David Airlie, Simona Vetter, Andy Shevchenko
Use %*ph format to print small buffer as hex string.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index 51924ae87705..ecdd4bac42e5 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@ -757,7 +757,7 @@ void dm_handle_mst_sideband_msg_ready_event(
break;
}
- DRM_DEBUG_DRIVER("ESI %02x %02x %02x\n", esi[0], esi[1], esi[2]);
+ DRM_DEBUG_DRIVER("ESI %3ph\n", esi);
switch (msg_rdy_type) {
case DOWN_REP_MSG_RDY_EVENT:
--
2.50.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-03 8:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 8:21 [PATCH v1 1/1] drm/amd/display: Use %*ph to print small buffer Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome