The AE id should be less than the maximal AE number
PATCH 1/1 The AE id should be less than the maximal AE number
Signed-off-by Yang Pingchao <[email protected]>
--- drivers/crypto/qat/qat_common/qat_uclo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/qat/qat_common/qat_uclo.c +1 -1
@@ -688,7 +688,7 @@ static int qat_uclo_map_ae(struct icp_qat_fw_loader_handle *handle, int max_ae)int mflag =0 ;struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle; -for (ae =0 ; ae <= max_ae; ae++) { +for (ae =0 ; ae < max_ae; ae++) {if (!test_bit (ae, (unsigned long *)&handle->hal_handle->ae_mask))continue ;
Signature · 1 line
2.4.3
Quoted 1 line · Yang Pingchao
Signed-off-by Yang Pingchao <[email protected]>
Applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt