diff options
author | Jack Xu <jack.xu@intel.com> | 2021-05-17 05:13:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:32 +0200 |
commit | 3261157cc5c66350e96090565f6b4a75d699228a (patch) | |
tree | 810fa400b48956a7a42466a3e27bde285767836f /drivers/crypto/qat/qat_common/qat_uclo.c | |
parent | ad598cf1ce2a134237cd48d1121d308d73a8c32e (diff) |
crypto: qat - check return code of qat_hal_rd_rel_reg()
[ Upstream commit 96b57229209490c8bca4335b01a426a96173dc56 ]
Check the return code of the function qat_hal_rd_rel_reg() and return it
to the caller.
This is to fix the following warning when compiling the driver with
clang scan-build:
drivers/crypto/qat/qat_common/qat_hal.c:1436:2: warning: 6th function call argument is an uninitialized value
Signed-off-by: Jack Xu <jack.xu@intel.com>
Co-developed-by: Zhehui Xiang <zhehui.xiang@intel.com>
Signed-off-by: Zhehui Xiang <zhehui.xiang@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/crypto/qat/qat_common/qat_uclo.c')
0 files changed, 0 insertions, 0 deletions