From 44b65cc5e022f8990a8061b52d8b8c86817ed7d7 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 27 Mar 2023 04:00:43 +0000 Subject: [PATCH] drm/drm_print: correct format problem From Wayne Lin 214cdbe17923f5e1ed1ff7ba19bac0901fc887e4 in linux-6.1.y/6.1.16 d987150b539271b0394f24c1c648d2846662adb4 in mainline linux --- sys/dev/pci/drm/include/drm/drm_print.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/include/drm/drm_print.h b/sys/dev/pci/drm/include/drm/drm_print.h index a44fb7ef257..094ded23534 100644 --- a/sys/dev/pci/drm/include/drm/drm_print.h +++ b/sys/dev/pci/drm/include/drm/drm_print.h @@ -521,7 +521,7 @@ __printf(1, 2) void __drm_err(const char *format, ...); #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG) -#define __drm_dbg(fmt, ...) ___drm_dbg(NULL, fmt, ##__VA_ARGS__) +#define __drm_dbg(cat, fmt, ...) ___drm_dbg(NULL, cat, fmt, ##__VA_ARGS__) #else #define __drm_dbg(cat, fmt, ...) \ _dynamic_func_call_cls(cat, fmt, ___drm_dbg, \ -- 2.20.1