drm/amd/display: Use %*ph to print small buffer
Subsystems (3)
PATCH 1/1 drm/amd/display: Use %*ph to print small buffer
Use %*ph format to print small buffer as hex string.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +1 -1
@@ -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 :
Signature · 1 line
2.50.1