[LTP] [PATCH 1/2] cgroup: Fix build with -Werror=return-type

Li Wang liwang@redhat.com
Mon Jun 22 13:40:38 CEST 2020


On Mon, Jun 22, 2020 at 5:22 PM Petr Vorel <pvorel@suse.com> wrote:

> Hi Li,
>
> > >         tst_brk(TCONF, "Cgroup is not configured");
> > > +       return TST_CGROUP_V1; /* fix -Werror=return-type */
>
>
> > This return looks strange since it will never go to here.
>
> > How about this?
>
> I'm sorry, I overlooked your mail and push whole patchset.
>
> LGTM, feel free to merge.
> Tested-by: Petr Vorel <pvorel@suse.cz>
>

This is correct, I go back to this v1 way and pushed. Thanks Petr!

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200622/7d1196ab/attachment-0001.htm>


More information about the ltp mailing list