mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
crypto: qat - improve error logging to be consistent across features
Improve error logging in rate limiting feature. Staying consistent with the error logging found in the telemetry feature. Fixes: d9fb8408376e ("crypto: qat - add rate limiting feature to qat_4xxx") Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
4a4fc6c0c7
commit
d281a28bd2
@ -1125,7 +1125,7 @@ int adf_rl_start(struct adf_accel_dev *accel_dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((fw_caps & RL_CAPABILITY_MASK) != RL_CAPABILITY_VALUE) {
|
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;
|
ret = -EOPNOTSUPP;
|
||||||
goto ret_free;
|
goto ret_free;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user