On (Fri) 29 Jul 2016 [12:48:25], Denis V. Lunev wrote: > From: Evgeny Yakovlev <[email protected]> > > mmap man page: > "On success, mmap() returns a pointer to the mapped area. On error, the > value MAP_FAILED (that is, (void *) -1) is returned, and errno is set > to indicate the cause of the error." > > The check in postcopy_get_tmp_page is definitely wrong and should be > fixed. > > Signed-off-by: Evgeny Yakovlev <[email protected]> > Signed-off-by: Denis V. Lunev <[email protected]> > CC: Juan Quintela <[email protected]> > CC: Amit Shah <[email protected]>
Reviewed-by: Amit Shah <[email protected]> Amit
