[LTP] [PATCH] syscalls/move_pages: move_pages() can return positive value
Jan Stancek
jstancek@redhat.com
Tue Aug 28 12:40:24 CEST 2018
----- Original Message -----
>
> ----- Original Message -----
> > 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.
>
> Agreed, we don't check for other negative values, so we better report
> those as failures too.
Pushed with suggested change and your ACK.
Regards,
Jan
More information about the ltp
mailing list