summaryrefslogtreecommitdiff
path: root/tools/include/linux/spinlock.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-11-24 00:53:13 +0300
committerThomas Weißschuh <linux@weissschuh.net>2023-12-12 00:38:32 +0300
commitdece8476d6dda087cacb8e105bb70e02a9ef9387 (patch)
tree8ca9eb2beb410d64ff4361666f7820a2493d5bb0 /tools/include/linux/spinlock.h
parentb9e64724cd8aeca9e7ab4523a92ccf2ba0cd1de2 (diff)
downloadlinux-dece8476d6dda087cacb8e105bb70e02a9ef9387.tar.xz
tools/nolibc: annotate va_list printf formats
__attribute__(format(printf)) can also be used for functions that take a va_list argument. As per the GCC docs: For functions where the arguments are not available to be checked (such as vprintf), specify the third parameter as zero. Link: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/include/linux/spinlock.h')
0 files changed, 0 insertions, 0 deletions