From: jsg Date: Mon, 27 Mar 2023 04:00:43 +0000 (+0000) Subject: drm/drm_print: correct format problem X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=44b65cc5e022f8990a8061b52d8b8c86817ed7d7;p=openbsd drm/drm_print: correct format problem From Wayne Lin 214cdbe17923f5e1ed1ff7ba19bac0901fc887e4 in linux-6.1.y/6.1.16 d987150b539271b0394f24c1c648d2846662adb4 in mainline linux --- 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, \