mbox series

[for-4.15,0/2] xenstore: Check format printf

Message ID 20210305124003.13582-1-julien@xen.org (mailing list archive)
Headers show
Series xenstore: Check format printf | expand

Message

Julien Grall March 5, 2021, 12:40 p.m. UTC
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(-)