diff options
author | Suniel Mahesh <sunil.m@techveda.org> | 2017-10-18 12:11:55 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 15:33:15 +0200 |
commit | 78cd0ddc67775df4e6a2c9b4da8cb26b19d61f8d (patch) | |
tree | 09793594065af4d44a37c55cb525ef74a8b3d058 | |
parent | 8fc9772543e860461d06a79cc4a3d8dcf62a40fd (diff) | |
download | linux-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.h | 2 |
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 */ |