[LTP] [PATCH] syscalls/ustat: Move the syscall to lapi

Steve Muckle smuckle@google.com
Fri Feb 22 20:29:27 CET 2019


On 02/21/2019 03:22 AM, Cyril Hrubis wrote:
> The dev parameter needs to be casted to unsigned in some cases, let's
> move call to tst_syscall() from the tests to lapi so that the tests does
> not have to worry about the low level details.
> 
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> CC: Steve Muckle <smuckle@google.com>
> CC: Richard Palethorpe <rpalethorpe@suse.com>
> ---
>   include/lapi/ustat.h                      | 7 +++++++
>   testcases/kernel/syscalls/ustat/ustat01.c | 5 ++---
>   testcases/kernel/syscalls/ustat/ustat02.c | 5 ++---
>   3 files changed, 11 insertions(+), 6 deletions(-)

Reviewed-by: Steve Muckle <smuckle@google.com>


More information about the ltp mailing list