[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC4Lta3+GHLEMYNHsvx4vsN557vFdrBO_ROo8mN4JpG3T3ejJg@mail.gmail.com>
Date: Fri, 23 May 2014 19:10:02 +0530
From: Raghavendra KT <raghavendra.kt@...ux.vnet.ibm.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] sched: signedness bug in yield_to()
On Fri, May 23, 2014 at 3:50 PM, Dan Carpenter <dan.carpenter@...cle.com> 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@...cle.com>
Thanks, Please feel free to add
Reviewed-by: Raghavendra <raghavendra.kt@...ux.vnet.ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists