Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hongzhi reports that this test is failing on mips64 with 5.1+: diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument diotest4 11 TBROK : diotest4.c:368: Remaining cases broken I could reproduce it on emulated 5kc-malta, running 5.2.0-rc7. Test is trying to map into area immediately following heap as MAP_SHARED, but it used wrong alignment (fixed by 'lapi/mmap.h: include config.h'). Usage of MAP_FIXED seems unnecessary, so drop that too and let the kernel pick an address. Reported-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Jan Stancek <jstancek@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
- Loading branch information