[LTP] [PATCH] syscalls/move_pages: move_pages() can return positive value

Cyril Hrubis chrubis@suse.cz
Tue Aug 28 12:00:08 CEST 2018


Hi!
>  		ret = numa_move_pages(0, TEST_PAGES, pages, NULL, status, 0);
> -		if (ret != 0) {
> +		if (ret == -1) {

Maybe we should go for (ret < 0) but other than that this looks good.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list