[LTP] Bug Report: diotest4 fails on mips64
Hongzhi, Song
hongzhi.song@windriver.com
Fri Jun 28 12:32:18 CEST 2019
*Ltp:*
latest master
*Kernel:*
After v5.1 ARCH=mips64
*Error info:*
diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken
I think the first argument of mmap is invalid.
>shm_base = (char *)(((long)sbrk(0) + (shmsz - 1)) & ~(shmsz - 1));
>shm_base = mmap(shm_base, 0x100000, PROT_READ | PROT_WRITE,
Regards,
--Hongzhi
More information about the ltp
mailing list