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

Li Wang liwang@redhat.com
Tue Feb 26 04:17:45 CET 2019


On Tue, Feb 26, 2019 at 10:22 AM Jason Xing <
kerneljasonxing@linux.alibaba.com> wrote:

> 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>
>
Reviewed-by: Li Wang <liwang@redhat.com>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190226/a7ad216d/attachment.html>


More information about the ltp mailing list