diff options
author | Alan Maguire <[email protected]> | 2024-07-11 19:23:21 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-07-11 14:15:17 -0700 |
commit | b3470da314fd8018ee237e382000c4154a942420 (patch) | |
tree | 5ad1e4998c29f1449123c7ca6e32ec6a27204acd /drivers/usb/cdns3/cdns3-debug.h | |
parent | 19d3c179a37730caf600a97fed3794feac2b197b (diff) |
bpf: annotate BTF show functions with __printf
-Werror=suggest-attribute=format warns about two functions
in kernel/bpf/btf.c [1]; add __printf() annotations to silence
these warnings since for CONFIG_WERROR=y they will trigger
build failures.
[1] https://lore.kernel.org/bpf/[email protected]/
Fixes: 31d0bc81637d ("bpf: Move to generic BTF show support, apply it to seq files/strings")
Reported-by: Mirsad Todorovac <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Tested-by: Mirsad Todorovac <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions