diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-11-24 00:53:13 +0300 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2023-12-12 00:38:32 +0300 |
commit | dece8476d6dda087cacb8e105bb70e02a9ef9387 (patch) | |
tree | 8ca9eb2beb410d64ff4361666f7820a2493d5bb0 /tools/include/linux/spinlock.h | |
parent | b9e64724cd8aeca9e7ab4523a92ccf2ba0cd1de2 (diff) | |
download | linux-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