[LTP] [PATCH v2 1/1] syscalls/get_mempolicy01: Rewrite to new API

Petr Vorel pvorel@suse.cz
Mon Jan 25 11:02:53 CET 2021


Hi Li,

...
> > +               struct bitmask *exp_mask = *(tc->exp_nodemask);
> > +
> > +               if (!numa_bitmask_equal(exp_mask, getnodemask)) {
> > +                       tst_res(TFAIL, "masks are not equal");
> > +                       tst_res_hexd(TINFO, exp_mask->maskp,
> > +                               exp_mask->size / 8, "expected:");
> > +                       tst_res_hexd(TINFO, getnodemask->maskp,
> > +                               getnodemask->size / 8, "returned:");
> > +               }


> These few lines have a code indent issue, otherwise looks good.

> Reviewed-by: Li Wang <liwang@redhat.com>

Thanks for your review, merged with fixed indent.

Kind regards,
Petr


More information about the ltp mailing list