]> Git Repo - J-linux.git/commitdiff
drm/i915/bios: fix printk format width
authorJani Nikula <[email protected]>
Thu, 5 Sep 2024 11:25:19 +0000 (14:25 +0300)
committerJoonas Lahtinen <[email protected]>
Wed, 11 Sep 2024 08:01:00 +0000 (11:01 +0300)
s/0x04%x/0x%04x/ to use 0 prefixed width 4 instead of printing 04
verbatim.

Fixes: 51f5748179d4 ("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 54df34c5a2439b481f066476e67bfa21a0a640e5)
Signed-off-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/display/intel_bios.c

index d49435af62c732b392e05fe541d656dfdacba3ff..bed485374ab0b53fdb20cacaf08c2ddbfb50c3ee 100644 (file)
@@ -2948,7 +2948,7 @@ init_vbt_missing_defaults(struct intel_display *display)
                list_add_tail(&devdata->node, &display->vbt.display_devices);
 
                drm_dbg_kms(display->drm,
-                           "Generating default VBT child device with type 0x04%x on port %c\n",
+                           "Generating default VBT child device with type 0x%04x on port %c\n",
                            child->device_type, port_name(port));
        }
 
This page took 0.078496 seconds and 4 git commands to generate.