Re: [PATCH v2 bpf-next 4/5] selftests/bpf: Add tests for bpf_cgroup_read_xattr

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

 



On Thu, Jun 19, 2025 at 3:02 PM Song Liu <song@xxxxxxxxxx> wrote:
> +       bpf_dynptr_from_mem(xattr_value, sizeof(xattr_value), 0, &value_ptr);

https://github.com/kernel-patches/bpf/actions/runs/15767046528/job/44445539248

progs/cgroup_read_xattr.c:19:9: error: ‘bpf_dynptr_from_mem’ is static
but used in inline function ‘read_xattr’ which is not static [-Werror]
19 | bpf_dynptr_from_mem(value, sizeof(value), 0, &value_ptr);
| ^~~~~~~~~~~~~~~~~~~


Jose,

Could you please help us understand this gcc-bpf error ?
What does it mean?





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux