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> [...]