Re: [PATCH v6 bpf-next 4/5] selftests/bpf: Mark cpumask kfunc declarations as __weak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 06, 2024 at 04:14:15PM +0800, Yafang Shao wrote:
> After the series "Annotate kfuncs in .BTF_ids section"[0], kfuncs can be
> generated from bpftool. Let's mark the existing cpumask kfunc declarations
> __weak so they don't conflict with definitions that will eventually come
> from vmlinux.h.
> 
> [0]. https://lore.kernel.org/all/cover.1706491398.git.dxu@xxxxxxxxx
> 
> Suggested-by: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx>
> Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>
> Cc: Daniel Xu <dxu@xxxxxxxxx>
> ---
>  .../selftests/bpf/progs/cpumask_common.h      | 57 ++++++++++---------
>  1 file changed, 29 insertions(+), 28 deletions(-)

Thanks!

Acked-by: Daniel Xu <dxu@xxxxxxxxx>

[..]




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux