aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2025-02-14 12:57:40 +0000
committerRobert Foss <[email protected]>2025-02-17 13:17:53 +0000
commit72443c730b7a7b5670a921ea928e17b9b99bd934 (patch)
treed562dac32b776e684b9ff64309c45fc6b9301210 /drivers/gpu/drm/drm_debugfs.c
parentgpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines (diff)
downloadkernel-72443c730b7a7b5670a921ea928e17b9b99bd934.tar.gz
kernel-72443c730b7a7b5670a921ea928e17b9b99bd934.zip
drm/debugfs: fix printk format for bridge index
idx is an unsigned int, use %u for printk-style strings. Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Luca Ceresoli <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r--drivers/gpu/drm/drm_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 536409a35df4..6b2178864c7e 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -748,7 +748,7 @@ static int bridges_show(struct seq_file *m, void *data)
unsigned int idx = 0;
drm_for_each_bridge_in_chain(encoder, bridge) {
- drm_printf(&p, "bridge[%d]: %ps\n", idx++, bridge->funcs);
+ drm_printf(&p, "bridge[%u]: %ps\n", idx++, bridge->funcs);
drm_printf(&p, "\ttype: [%d] %s\n",
bridge->type,
drm_get_connector_type_name(bridge->type));