Re: [PATCH] libbpf: Wrap libbpf API direct err with libbpf_err

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

 



On Fri, 2025-02-14 at 22:17 +0800, Tao Chen wrote:
> Just wrap the direct err with libbpf_err, keep consistency
> with other APIs.
> 
> Signed-off-by: Tao Chen <chen.dylane@xxxxxxxxx>
> ---

While at it, I've noticed two more places that need libbpf_err() calls.
Could you please check the following locations:

bpf_map__set_value_size:
  return -EOPNOTSUPP;       tools/lib/bpf/libbpf.c:10309
  return err;               tools/lib/bpf/libbpf.c:10317

?

Other than that, I agree with changes in this patch.

Acked-by: Eduard Zingerman <eddyz87@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