mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/debugfs: fix printk format for bridge index
idx is an unsigned int, use %u for printk-style strings. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20250214-drm-assorted-cleanups-v7-1-88ca5827d7af@bootlin.com
This commit is contained in:
committed by
Robert Foss
parent
f65727be3f
commit
72443c730b
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user