]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccree - fix comparison of unsigned expression warning
authorTian Tao <tiantao6@huawei.com>
Sat, 19 Oct 2019 00:41:37 +0000 (08:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:09:58 +0000 (02:09 +1100)
commit1a391ff421333a88dc018ff8491bb2195fa22766
tree7c99cb325984301f636e20a351e9d72745b09fc0
parent882211037dcd0cc532dc3fc79bc2fb485ecb103a
crypto: ccree - fix comparison of unsigned expression warning

This patch fixes the following warnings:
drivers/crypto/ccree/cc_aead.c:630:5-12: WARNING: Unsigned expression
compared with zero: seq_len > 0

Signed-off-by: Tian Tao <tiantao6@huawei.com>
v2:
change hmac_setkey() return type to unsigned int to fix the warning.
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_aead.c