Skip to content

Commit 0289507

Browse files
jnikulajlahtine-intel
authored andcommitted
drm/i915/bios: fix printk format width
s/0x04%x/0x%04x/ to use 0 prefixed width 4 instead of printing 04 verbatim. Fixes: 51f5748 ("drm/i915/bios: create fake child devices on missing VBT") Cc: [email protected] # v5.13+ Reviewed-by: Vandita Kulkarni <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]> (cherry picked from commit 54df34c) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent f7e3885 commit 0289507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_bios.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@ init_vbt_missing_defaults(struct intel_display *display)
29482948
list_add_tail(&devdata->node, &display->vbt.display_devices);
29492949

29502950
drm_dbg_kms(display->drm,
2951-
"Generating default VBT child device with type 0x04%x on port %c\n",
2951+
"Generating default VBT child device with type 0x%04x on port %c\n",
29522952
child->device_type, port_name(port));
29532953
}
29542954

0 commit comments

Comments
 (0)