OSDN Git Service

crypto: hisilicon/hpre - use the correct variable type
authorHui Tang <tanghui20@huawei.com>
Sat, 10 Apr 2021 09:47:00 +0000 (17:47 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Apr 2021 11:16:34 +0000 (21:16 +1000)
commitc4433247d91f5e1fe2c8db6b09288d7a0808037c
tree57aafdbaf7be3b600e14a59abc84000ae9d4e503
parenta2035904f012090e6d5362bd9e0fe35eb3a32eb1
crypto: hisilicon/hpre - use the correct variable type

The return value of 'le32_to_cpu' is unsigned, so change the
variable type from 'int' to 'unsigned int'.

Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_crypto.c