public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Bug Report: diotest4 fails on mips64
@ 2019-06-28 10:32 Hongzhi, Song
  2019-06-28 11:09 ` Jan Stancek
  0 siblings, 1 reply; 9+ messages in thread
From: Hongzhi, Song @ 2019-06-28 10:32 UTC (permalink / raw)
  To: ltp

*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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-04  8:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 10:32 [LTP] Bug Report: diotest4 fails on mips64 Hongzhi, Song
2019-06-28 11:09 ` Jan Stancek
2019-07-01  9:16   ` Hongzhi, Song
2019-07-03 12:53     ` Jan Stancek
2019-07-04  0:02       ` Jan Stancek
2019-07-04  7:44         ` Hongzhi, Song
2019-07-04  8:17           ` Jan Stancek
2019-07-04  8:29             ` Hongzhi, Song
2019-07-04  1:56       ` Hongzhi, Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox