]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: alternative: Use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:59:57 +0000 (18:59 -0500)
committerWill Deacon <will.deacon@arm.com>
Wed, 8 Aug 2018 10:20:54 +0000 (11:20 +0100)
commit3c4d9137eefecf273a520d392071ffc9df0a9a7a
tree318d25f67ccdb47fe883123a12a2a45531d9f22b
parentdcab90d90935f990407c86b671a7f1ac285d106c
arm64: alternative: Use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value. This code was detected with the help of
Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/alternative.c