Re: [patch] sched: signedness bug in yield_to()
From: Raghavendra KT
Date: Fri May 23 2014 - 09:40:13 EST
On Fri, May 23, 2014 at 3:50 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> yield_to() is supposed to return -ESRCH if there is no task to
> yield to, but because the type is bool that is the same as returning
> true.
>
> The only place I see which cares is kvm_vcpu_on_spin().
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Thanks, Please feel free to add
Reviewed-by: Raghavendra <raghavendra.kt@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/