Searched hist:"09710 d82c0a3469eadc32781721ac2336fdf915d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | diff 09710d82c0a3469eadc32781721ac2336fdf915d Tue Sep 28 13:42:21 CDT 2021 Yucong Sun <fallentree@fb.com> bpftool: Avoid using "?: " in generated code
"?:" is a GNU C extension, some environment has warning flags for its use, or even prohibit it directly. This patch avoid triggering these problems by simply expand it to its full form, no functionality change.
Signed-off-by: Yucong Sun <fallentree@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210928184221.1545079-1-fallentree@fb.com
|