[LTP] [PATCH] tst_timer: pass kernel_timer_t type to syscalls
Viresh Kumar
viresh.kumar@linaro.org
Wed Jul 15 11:33:12 CEST 2020
On 14-07-20, 22:24, Jan Stancek wrote:
> timer_[gs]etttime tests are failing on s390, which is big endian
> system, because tests are passing timer_t type, which is glibc
> type (void *). Kernel expects and sets only int portion, so the
> tests fail for all but first (0) timer id.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
> ---
> include/tst_timer.h | 8 ++++----
> testcases/kernel/syscalls/timer_gettime/timer_gettime01.c | 6 +++---
> testcases/kernel/syscalls/timer_settime/timer_settime01.c | 6 +++---
> testcases/kernel/syscalls/timer_settime/timer_settime02.c | 8 ++++----
> 4 files changed, 14 insertions(+), 14 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
More information about the ltp
mailing list