]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - net/smc/smc.h
net/smc: return booleans instead of integers
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 26 Jan 2018 08:28:50 +0000 (09:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2018 15:41:56 +0000 (10:41 -0500)
commita8fbf8e7ecda38d70a7983246fbadf04063f3843
tree2fcf35617379a9237ec2661262c9039ae79087ca
parent127f497058236e5f07672e11382232f80cb7e8c4
net/smc: return booleans instead of integers

Return statements in functions returning bool should use
true/false instead of 1/0.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc.h