From 78cd0ddc67775df4e6a2c9b4da8cb26b19d61f8d Mon Sep 17 00:00:00 2001 From: Suniel Mahesh Date: Wed, 18 Oct 2017 12:11:55 +0530 Subject: [PATCH] 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 --- drivers/staging/ccree/ssi_cipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.11.0