Commit 02895076 authored by Jani Nikula's avatar Jani Nikula Committed by Joonas Lahtinen

drm/i915/bios: fix printk format width

s/0x04%x/0x%04x/ to use 0 prefixed width 4 instead of printing 04
verbatim.

Fixes: 51f57481 ("drm/i915/bios: create fake child devices on missing VBT")
Cc: stable@vger.kernel.org # v5.13+
Reviewed-by: default avatarVandita Kulkarni <vandita.kulkarni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240905112519.4186408-1-jani.nikula@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
(cherry picked from commit 54df34c5a2439b481f066476e67bfa21a0a640e5)
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent f7e3885a
...@@ -2948,7 +2948,7 @@ init_vbt_missing_defaults(struct intel_display *display) ...@@ -2948,7 +2948,7 @@ init_vbt_missing_defaults(struct intel_display *display)
list_add_tail(&devdata->node, &display->vbt.display_devices); list_add_tail(&devdata->node, &display->vbt.display_devices);
drm_dbg_kms(display->drm, 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)); child->device_type, port_name(port));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment