Re: [PATCH v2 bpf-next 4/5] bpf: Add a bpf_getxattr kfunc

KP Singh
2022-06-21T16:06:59Z

On Tue, Jun 21, 2022 at 2:41 PM Kumar Kartikeya Dwivedi
<memxor@gmail.com> wrote:
>
> On Tue, Jun 21, 2022 at 12:48:08PM IST, KP Singh wrote:
> > On Tue, Jun 21, 2022 at 5:20 AM kernel test robot <lkp@intel.com> wrote:
> > >
> > > Hi KP,
> > >
> > > I love your patch! Perhaps something to improve:
> > >
> > > [auto build test WARNING on bpf-next/master]
[...]

> >
>
> You can silence this warning using __diag_push, e.g. see kfunc definitions in
> net/netfilter/nf_conntrack_bpf.c.

Thanks, done.

>
> > - KP
> >
> > >
> > > vim +/bpf_getxattr +1185 kernel/trace/bpf_trace.c
> > >
> > > 1184
> > > > 1185 noinline __weak ssize_t bpf_getxattr(struct dentry *dentry, struct inode *inode,
> > > 1186 const char *name, void *value, int size)
> > > 1187 {
> > > 1188 return __vfs_getxattr(dentry, inode, name, value, size);
> > > 1189 }
> > > 1190
> > >
> > > --
> > > 0-DAY CI Kernel Test Service
> > > https://01.org/lkp
>
> --
> Kartikeya