Skip to content
Commit 798ac398 authored by Tian Tao's avatar Tian Tao Committed by Herbert Xu
Browse files

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: default avatarTian Tao <tiantao6@huawei.com>

v2:
change hmac_setkey() return type to unsigned int to fix the warning.
Acked-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1d55fdc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment