[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e7c87b51-0fef-d0a8-a024-2f4c539f9d4e@fb.com>
Date: Sun, 10 Jan 2021 20:03:26 -0800
From: Yonghong Song <yhs@...com>
To: Andrii Nakryiko <andrii@...nel.org>, <bpf@...r.kernel.org>,
<netdev@...r.kernel.org>, <ast@...com>, <daniel@...earbox.net>
CC: <kernel-team@...com>, Hao Luo <haoluo@...gle.com>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v2 bpf-next 2/7] bpf: avoid warning when re-casting
__bpf_call_base into __bpf_call_base_args
On 1/8/21 2:09 PM, Andrii Nakryiko wrote:
> 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.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Fixes: 1ea47e01ad6e ("bpf: add support for bpf_call to interpreter")
> Signed-off-by: Andrii Nakryiko <andrii@...nel.org>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists