projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee0cb5
)
crypto: qat - The AE id should be less than the maximal AE number
author
Pingchao Yang
<
[email protected]
>
Thu, 18 Feb 2016 03:29:02 +0000
(22:29 -0500)
committer
Herbert Xu
<
[email protected]
>
Sat, 27 Feb 2016 19:26:31 +0000
(
03:26
+0800)
Signed-off-by: Yang Pingchao <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
drivers/crypto/qat/qat_common/qat_uclo.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/qat/qat_common/qat_uclo.c
b/drivers/crypto/qat/qat_common/qat_uclo.c
index 25d15f19c2b3f4ab9088c808bd93772a0bc1d57b..9b961b37a282d6d59797fba68c5634e0b645f17e 100644
(file)
--- a/
drivers/crypto/qat/qat_common/qat_uclo.c
+++ b/
drivers/crypto/qat/qat_common/qat_uclo.c
@@
-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;