mirror of https://gitee.com/openkylin/linux.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 <sunil.m@techveda.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8fc9772543
commit
78cd0ddc67
|
@ -75,7 +75,7 @@ struct arm_hw_key_info {
|
||||||
|
|
||||||
static inline bool ssi_is_hw_key(struct crypto_tfm *tfm)
|
static inline bool ssi_is_hw_key(struct crypto_tfm *tfm)
|
||||||
{
|
{
|
||||||
return 0;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CRYPTO_TFM_REQ_HW_KEY */
|
#endif /* CRYPTO_TFM_REQ_HW_KEY */
|
||||||
|
|
Loading…
Reference in New Issue