From: Lucas De Marchi Date: Wed, 6 Sep 2023 19:30:09 +0000 (-0700) Subject: drm/xe/pat: Use 0 instead of space on error X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8bc454baf4036f4684bf30951dc3f6d96eb93f5f;p=linux.git drm/xe/pat: Use 0 instead of space on error Use 0 in format string instead of space so it shows as [drm] *ERROR* Missing PAT table for platform with graphics version 20.04! instead of [drm] *ERROR* Missing PAT table for platform with graphics version 20. 4! Reviewed-by: Matt Roper Reviewed-by: Gustavo Sousa Link: https://lore.kernel.org/r/20230906193009.1912129-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_pat.c b/drivers/gpu/drm/xe/xe_pat.c index b56a65779d26b..71e0e047fff3b 100644 --- a/drivers/gpu/drm/xe/xe_pat.c +++ b/drivers/gpu/drm/xe/xe_pat.c @@ -107,7 +107,7 @@ void xe_pat_init(struct xe_gt *gt) * raise an error rather than trying to silently inherit the * most recent platform's behavior. */ - drm_err(&xe->drm, "Missing PAT table for platform with graphics version %d.%2d!\n", + drm_err(&xe->drm, "Missing PAT table for platform with graphics version %d.%02d!\n", GRAPHICS_VER(xe), GRAPHICS_VERx100(xe) % 100); } }