From: Tadeusz Struk Date: Wed, 3 Dec 2014 05:08:48 +0000 (-0800) Subject: crypto: qat - fix problem with coalescing enable logic X-Git-Tag: omap-for-v3.20/drop-legacy-3517~96^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc84b94a715f3505f5f5981af0ec0362aa3fe38b;p=pandora-kernel.git 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 Signed-off-by: Tadeusz Struk Signed-off-by: Herbert Xu --- Reading git-diff-tree failed