[LTP] [PATCH v3] syscalls/cma: fix the failure of compiling with O2 option

Jan Stancek jstancek@redhat.com
Tue Feb 26 17:03:43 CET 2019

----- Original Message -----
> This issue is triggered by the commit 9b02cd465f70 which I wrote. If
> compile the process_vm_readv03.c with O2 option and run, it will return
> TFAIL. By casting the int type to unsigned long type in the ltp_syscall
> calling functions can we avoid this failure. Thus I modify all the
> testcases which might be affected by the previous commit.
> Signed-off-by: Jason Xing <kerneljasonxing@linux.alibaba.com>



More information about the ltp mailing list