[LTP] [PATCH v2 02/16] syscalls/sched_getparam01: use libc/sys_sched_*()

Cyril Hrubis chrubis@suse.cz
Mon Aug 9 12:02:56 CEST 2021


Hi!
> +static struct sched_variants variants[] = {
> +	{ .sched_getparam = libc_sched_getparam, .desc = "libc" },
> +	{ .sched_getparam = sys_sched_getparam, .desc = "syscall" },
> +};

It would be nicer if we defined the variants structure once in the
header as Li pointed out, otherwise:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list