[LTP] [PATCH 1/2] cgroup: Fix build with -Werror=return-type
Li Wang
liwang@redhat.com
Mon Jun 22 12:06:43 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.
>
Never mind:).
I resend a patch v2 to cover more situations, that would be great if you
can help review/test again.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200622/35823e55/attachment.htm>
More information about the ltp
mailing list