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

Jan Stancek
2019-02-26T16:03:43Z

----- 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>

Pushed.

Thanks,
Jan