On 19-Feb-19 8:38 PM, David Marchand wrote:
pthread_getaffinity_np returns a >0 value when failing.This is mainly for the sake of correctness. The only case where it could fail is when passing an incorrect cpuset size wrt to the kernel. Fixes: 2eba8d21f3c9 ("eal: restrict cores auto detection") Cc: [email protected] Signed-off-by: David Marchand <[email protected]> ---
Reviewed-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

