Commit 2106bafa authored by Adam Guerin's avatar Adam Guerin Committed by Aichun Shi
Browse files

crypto: qat - improve error logging to be consistent across features

mainline inclusion
from mainline-v6.10-rc1
commit d281a28bd2a94d72c440457e05a2f04a52f15947
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9SBWE
CVE: N/A
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d281a28bd2a94d72c440457e05a2f04a52f15947



-------------------------------------

Improve error logging in rate limiting feature. Staying consistent with
the error logging found in the telemetry feature.

Intel-SIG: commit d281a28bd2a9 crypto: qat - improve error logging to be consistent across features
Backport to support QAT live migration for in-tree driver

Fixes: d9fb8408376e ("crypto: qat - add rate limiting feature to qat_4xxx")
Signed-off-by: default avatarAdam Guerin <adam.guerin@intel.com>
Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
[ Aichun Shi: amend commit log ]
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent a75c76f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1125,7 +1125,7 @@ int adf_rl_start(struct adf_accel_dev *accel_dev)
	}

	if ((fw_caps & RL_CAPABILITY_MASK) != RL_CAPABILITY_VALUE) {
		dev_info(&GET_DEV(accel_dev), "not supported\n");
		dev_info(&GET_DEV(accel_dev), "feature not supported by FW\n");
		ret = -EOPNOTSUPP;
		goto ret_free;
	}