From: Garrett Cooper <yanegomi@gm...> - 2012-05-28 18:27:14
On Mon, May 28, 2012 at 4:39 AM, Jan Stancek <jstancek@...> wrote:
> A library to share NUMA helper functions shared by
> multiple testcases.
> Signed-off-by: Jan Stancek <jstancek@...>
+ tst_resm(TFAIL, "get_allowed_nodes, i >= num_allowed_nodes: "
+ "%d > %d", i, num_nodes);
1. I would just remove this because it's obvious from the API
definition what's going on when it sets ret to -3.
2. I would add a break there so it doesn't iterate through the loop
more than necessary.