Files
android_kernel_xiaomi_sm8450/kernel/bpf
Arnd Bergmann 53c8036cb7 bpf: btf: avoid -Wreturn-type warning
gcc warns about a noreturn function possibly returning in
some configurations:

kernel/bpf/btf.c: In function 'env_type_is_resolve_sink':
kernel/bpf/btf.c:729:1: error: control reaches end of non-void function [-Werror=return-type]

Using BUG() instead of BUG_ON() avoids that warning and otherwise
does the exact same thing.

Fixes: eb3f595dab ("bpf: btf: Validate type reference")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-05-28 17:40:58 +02:00
..
2018-05-28 17:40:58 +02:00
2018-03-31 02:15:18 +02:00
2017-01-09 16:56:27 -05:00
2018-04-30 10:55:56 +02:00
2017-11-15 19:46:32 +09:00
2018-05-18 16:07:02 +02:00