From: Suniel Mahesh Date: Wed, 18 Oct 2017 06:41:55 +0000 (+0530) Subject: staging: ccree: fix boolreturn.cocci warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=78cd0ddc67775df4e6a2c9b4da8cb26b19d61f8d;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 */