mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
MISRA C Rule 17.1 prohibits the use of the features that support variadic functions. Make the deviation already in place for controlled use of such features more general, relying on the presence of the `format' attribute on the function declaration. Add attributes where missing in order to avoid special-casing certain functions that use variadic arguments. Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>