]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - modify the return type of function
authorWeili Qian <qianweili@huawei.com>
Sat, 31 Oct 2020 09:07:02 +0000 (17:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Nov 2020 03:31:16 +0000 (14:31 +1100)
commit08531b6e1f194e62213294c8c76162bf31351ae9
tree6b336ee5b7bc06c2c73e48eedb6a8a9d53e0cb68
parent50affb6f0cba1f251769a4bd2374c2400b954f2e
crypto: hisilicon/qm - modify the return type of function

The returns of 'qm_get_hw_error_status' and 'qm_get_dev_err_status'
are values from the hardware registers, which should not be defined
as 'int', so update as 'u32'.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c