From: Lyude Paul Date: Wed, 18 Jul 2018 21:57:16 +0000 (-0400) Subject: drm/print: Fix DRM_DEBUG_DP macro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=106b6c39c870c1f7628ba41693e571f419b1981d;p=linux.git drm/print: Fix DRM_DEBUG_DP macro This isn't supposed to take dev as an argument, I guess no one noticed! Signed-off-by: Lyude Paul Reviewed-by: Rodrigo Vivi Link: https://patchwork.freedesktop.org/patch/msgid/20180718215716.5784-1-lyude@redhat.com --- diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index 767c90b654c53..fc08584a51019 100644 --- a/include/drm/drm_print.h +++ b/include/drm/drm_print.h @@ -310,7 +310,7 @@ void drm_err(const char *format, ...); #define DRM_DEV_DEBUG_DP(dev, fmt, ...) \ drm_dev_dbg(dev, DRM_UT_DP, fmt, ## __VA_ARGS__) -#define DRM_DEBUG_DP(dev, fmt, ...) \ +#define DRM_DEBUG_DP(fmt, ...) \ drm_dbg(DRM_UT_DP, fmt, ## __VA_ARGS__) #define _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, category, fmt, ...) \