[LTP] [PATCH] lapi/sched.h: don't include itself

Jan Stancek jstancek@redhat.com
Mon Nov 4 14:20:12 CET 2024


On Mon, Nov 4, 2024 at 2:13 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
>
> Added by:
>
> commit 45f6916bae4cf417fd5a757ea8ca516d17865075
> Author: Wei Gao via ltp <ltp@lists.linux.it>
> Date:   Thu Aug 31 02:47:27 2023 -0400
>
>     clone3: Add clone3's clone_args cgroup
>
>     Signed-off-by: Wei Gao <wegao@suse.com>
>     Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>
>     [rpalethorpe: rm max_runtime]
>
> diff --git a/include/lapi/sched.h b/include/lapi/sched.h
> index 1065665d1..ac766efc5 100644
> --- a/include/lapi/sched.h
> +++ b/include/lapi/sched.h
> @@ -13,6 +13,7 @@
>  #include <inttypes.h>
>  #include "config.h"
>  #include "lapi/syscalls.h"
> +#include "lapi/sched.h"
>
>
> Along with a few additions. Looks like a mistake to me as well. And it's
> no-op due to the header guards either way.
>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

Pushed.

>
> --
> Cyril Hrubis
> chrubis@suse.cz
>



More information about the ltp mailing list