Re: [LTP] [PATCH v1 1/3] Rewrite eventfd2_01 test using new LTP API

Cyril Hrubis
2023-04-05T09:21:34Z

Hi!
> > +static inline int eventfd2(unsigned int count, unsigned int flags)
> > +{
> > + int ret;
> > +
> > + ret = tst_syscall(__NR_eventfd2, count, flags);
> > + if (ret == -1)
> > + tst_brk(TBROK | TERRNO, "eventfd2");
> > +
> > + return ret;
> > +}
> Normally we need put file or store this file into some lib directory?

As long as there are no other testcases that will need this it's okay if
this stays here.

--
Cyril Hrubis
chrubis@suse.cz