summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil.m@techveda.org>2017-10-18 12:11:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 15:33:15 +0200
commit78cd0ddc67775df4e6a2c9b4da8cb26b19d61f8d (patch)
tree09793594065af4d44a37c55cb525ef74a8b3d058
parent8fc9772543e860461d06a79cc4a3d8dcf62a40fd (diff)
downloadlinux-78cd0ddc67775df4e6a2c9b4da8cb26b19d61f8d.tar.bz2
staging: ccree: fix boolreturn.cocci warning
This fixes the following coccinelle warning: WARNING: return of 0/1 in function 'ssi_is_hw_key' with return type bool. return "false" instead of 0. Signed-off-by: Suniel Mahesh <sunil.m@techveda.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ccree/ssi_cipher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ccree/ssi_cipher.h b/drivers/staging/ccree/ssi_cipher.h
index c9a83df4514b..f4999626b94a 100644
--- a/drivers/staging/ccree/ssi_cipher.h
+++ b/drivers/staging/ccree/ssi_cipher.h
@@ -75,7 +75,7 @@ struct arm_hw_key_info {
static inline bool ssi_is_hw_key(struct crypto_tfm *tfm)
{
- return 0;
+ return false;
}
#endif /* CRYPTO_TFM_REQ_HW_KEY */