[PATCH libdrm] Mark functions printf-like where possible

Eric Anholt eric at anholt.net
Wed Feb 19 11:32:29 PST 2014


Thierry Reding <thierry.reding at gmail.com> writes:

> From: Thierry Reding <treding at nvidia.com>
>
> 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 Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140219/8277d5c1/attachment.pgp>


More information about the dri-devel mailing list