Files
kernel_xiaomi_sm8250/include/linux
Andrii Nakryiko 6d7fdbb979 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
[ Upstream commit 6943c2b05bf09fd5c5729f7d7d803bf3f126cb9a ]

BPF interpreter uses extra input argument, so re-casts __bpf_call_base into
__bpf_call_base_args. Avoid compiler warning about incompatible function
prototypes by casting to void * first.

Fixes: 1ea47e01ad ("bpf: add support for bpf_call to interpreter")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210112075520.4103414-3-andrii@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 09:39:33 +01:00
..
2019-12-13 08:51:18 +01:00
2019-12-17 20:35:45 +01:00
2021-01-30 13:32:11 +01:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2018-08-22 10:52:48 -07:00
2021-02-10 09:21:06 +01:00
2019-11-24 08:19:14 +01:00
2021-01-30 13:32:13 +01:00
2021-01-30 13:32:12 +01:00
2019-10-17 13:45:42 -07:00
2019-12-13 08:52:43 +01:00
2021-02-07 14:48:38 +01:00
2019-12-31 16:35:38 +01:00
2020-07-29 10:16:52 +02:00
2018-08-22 10:52:45 -07:00
2020-03-18 07:14:17 +01:00
2019-06-11 12:20:52 +02:00
2021-01-30 13:32:12 +01:00
2020-04-02 15:28:22 +02:00
2018-08-16 12:14:42 -07:00
2018-11-13 11:08:51 -08:00
2020-12-11 13:25:01 +01:00
2020-04-02 15:28:23 +02:00