diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2014-12-02 21:08:48 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-04 23:50:23 +0800 |
commit | bc84b94a715f3505f5f5981af0ec0362aa3fe38b (patch) | |
tree | a23f88177d9f05c72b4a818d148e95a1c0871025 /crypto/crct10dif_common.c | |
parent | 5a2bb93f599247e049f5ae06a573f1152987c572 (diff) |
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/crct10dif_common.c')
0 files changed, 0 insertions, 0 deletions