diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2014-12-03 08:08:48 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-04 18:50:23 +0300 |
commit | bc84b94a715f3505f5f5981af0ec0362aa3fe38b (patch) | |
tree | a23f88177d9f05c72b4a818d148e95a1c0871025 /crypto/af_alg.c | |
parent | 5a2bb93f599247e049f5ae06a573f1152987c572 (diff) | |
download | linux-bc84b94a715f3505f5f5981af0ec0362aa3fe38b.tar.xz |
crypto: qat - fix problem with coalescing enable logic
Fixed issue reported by Dan Carpenter
410 if (adf_get_cfg_int(accel_dev, "Accelerator0",
411 ADF_ETRMGR_COALESCING_ENABLED_FORMAT,
412 bank_num, &coalesc_enabled) && coalesc_enabled)
This condition is reversed, so it only enables coalescing on error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions