diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 53ed87698a74..d7ebd7b207e3 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -125,8 +125,8 @@ struct dma_buf_attachment; | |||
125 | extern __printf(2, 3) | 125 | extern __printf(2, 3) |
126 | void drm_ut_debug_printk(const char *function_name, | 126 | void drm_ut_debug_printk(const char *function_name, |
127 | const char *format, ...); | 127 | const char *format, ...); |
128 | extern __printf(2, 3) | 128 | extern __printf(1, 2) |
129 | void drm_err(const char *func, const char *format, ...); | 129 | void drm_err(const char *format, ...); |
130 | 130 | ||
131 | /***********************************************************************/ | 131 | /***********************************************************************/ |
132 | /** \name DRM template customization defaults */ | 132 | /** \name DRM template customization defaults */ |
@@ -155,7 +155,7 @@ void drm_err(const char *func, const char *format, ...); | |||
155 | * \param arg arguments | 155 | * \param arg arguments |
156 | */ | 156 | */ |
157 | #define DRM_ERROR(fmt, ...) \ | 157 | #define DRM_ERROR(fmt, ...) \ |
158 | drm_err(__func__, fmt, ##__VA_ARGS__) | 158 | drm_err(fmt, ##__VA_ARGS__) |
159 | 159 | ||
160 | /** | 160 | /** |
161 | * Rate limited error output. Like DRM_ERROR() but won't flood the log. | 161 | * Rate limited error output. Like DRM_ERROR() but won't flood the log. |
@@ -170,7 +170,7 @@ void drm_err(const char *func, const char *format, ...); | |||
170 | DEFAULT_RATELIMIT_BURST); \ | 170 | DEFAULT_RATELIMIT_BURST); \ |
171 | \ | 171 | \ |
172 | if (__ratelimit(&_rs)) \ | 172 | if (__ratelimit(&_rs)) \ |
173 | drm_err(__func__, fmt, ##__VA_ARGS__); \ | 173 | drm_err(fmt, ##__VA_ARGS__); \ |
174 | }) | 174 | }) |
175 | 175 | ||
176 | #define DRM_INFO(fmt, ...) \ | 176 | #define DRM_INFO(fmt, ...) \ |