From: Julien Grall <jgrall@amazon.com>
This patch is a follow-up to Norbert's series [1].
The first patch will define PRINTF_ATTRIBUTE the same way everywhere.
The second patch will check the format printf on a few more calls.
Both patches are candidate for 4.15. They only affects the build system
and therefore would consider them low-risk.
Cheers,
[1] https://lore.kernel.org/xen-devel/20210226144144.9252-1-nmanthey@amazon.de/
Julien Grall (2):
tools/xenstore: Consolidate PRINTF_ATTRIBUTE() in utils.h
tools/xenstore: Check the format printf for xprintf() and
barf{,_perror}()
tools/xenstore/talloc.h | 15 ++-------------
tools/xenstore/tdb.h | 6 ++----
tools/xenstore/utils.h | 10 +++++++---
3 files changed, 11 insertions(+), 20 deletions(-)
--
2.17.1