From: Cyril Hrubis Date: Mon, 9 Aug 2021 12:02:56 +0200 Subject: [LTP] [PATCH v2 02/16] syscalls/sched_getparam01: use libc/sys_sched_*() In-Reply-To: <20210806164730.51040-3-aleksei.kodanev@bell-sw.com> References: <20210806164730.51040-1-aleksei.kodanev@bell-sw.com> <20210806164730.51040-3-aleksei.kodanev@bell-sw.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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 -- Cyril Hrubis chrubis@suse.cz