[PATCH libdrm] Mark functions printf-like where possible

2014-02-19 Thread Thierry Reding
From: Thierry Reding These functions all take a format string and either a list of variable arguments or a va_list. Use the new DRM_PRINTFLIKE macro to tell the compiler about it so that the arguments can be checked against the format string. Signed-off-by: Thierry Reding --- intel/intel_decod

[PATCH libdrm] Mark functions printf-like where possible

2014-02-19 Thread Eric Anholt
Thierry Reding writes: > From: Thierry Reding > > These functions all take a format string and either a list of variable > arguments or a va_list. Use the new DRM_PRINTFLIKE macro to tell the > compiler about it so that the arguments can be checked against the > format string. Reviewed-by: Eric