]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8874594c39683010efd58b61344e3169c504123f
tree2fcf35617379a9237ec2661262c9039ae79087ca
parent6f0a6522a1b78d5aba32a0dd3167d22e7a42ea7c
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