diff options
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drmP.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 43538b643560..cf3b446139ea 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
| @@ -122,12 +122,12 @@ struct drm_device; | |||
| 122 | * using the DRM_DEBUG_KMS and DRM_DEBUG. | 122 | * using the DRM_DEBUG_KMS and DRM_DEBUG. |
| 123 | */ | 123 | */ |
| 124 | 124 | ||
| 125 | extern __attribute__((format (printf, 4, 5))) | 125 | extern __printf(4, 5) |
| 126 | void drm_ut_debug_printk(unsigned int request_level, | 126 | void drm_ut_debug_printk(unsigned int request_level, |
| 127 | const char *prefix, | 127 | const char *prefix, |
| 128 | const char *function_name, | 128 | const char *function_name, |
| 129 | const char *format, ...); | 129 | const char *format, ...); |
| 130 | extern __attribute__((format (printf, 2, 3))) | 130 | extern __printf(2, 3) |
| 131 | int drm_err(const char *func, const char *format, ...); | 131 | int drm_err(const char *func, const char *format, ...); |
| 132 | 132 | ||
| 133 | /***********************************************************************/ | 133 | /***********************************************************************/ |
