Thread (2 messages) 2 messages, 2 authors, 2016-09-02

Re: tools-powerpc: Return false instead of -1

flat view

From: Andrew Shadura <hidden>
Date: 2016-09-02 09:54:20
Also in: lkml

On 17/09/15 13:03, Peter Senna Tschudin wrote:
Returning a negative value for a boolean function seem to have the
undesired effect of returning true. require_paranoia_below() is a
boolean function, but the variable used to store the return value is an
integer, receiving -1 or 0. This patch convert rc to bool, replace -1
by false, and 0 by true.
The issue still seems to be not fixed.

-- 
Cheers,
  Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help