commit | fa93384f40deeb294fd29f2fdcadbd0ebc2dedf1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <[email protected]> | Fri May 23 13:20:42 2014 +0300 |
committer | Ingo Molnar <[email protected]> | Thu Jun 05 11:52:13 2014 +0200 |
tree | 7948bf37a7b399f753937a311488b3f23b01622e | |
parent | 2538d960d0c74cdc639f05723e04a67aed1efdf9 [diff] |
sched: Fix signedness bug in yield_to() 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 <[email protected]> Reviewed-by: Raghavendra <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Gleb Natapov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/20140523102042.GA7267@mwanda Signed-off-by: Ingo Molnar <[email protected]>