Commit 4a4fc6c0 authored by Adam Guerin's avatar Adam Guerin Committed by Herbert Xu

crypto: qat - improve error message in adf_get_arbiter_mapping()

Improve error message to be more readable.

Fixes: 5da6a2d5 ("crypto: qat - generate dynamically arbiter mappings")
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>
parent 7daba20c
...@@ -298,7 +298,7 @@ static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev) ...@@ -298,7 +298,7 @@ static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev)
{ {
if (adf_gen4_init_thd2arb_map(accel_dev)) if (adf_gen4_init_thd2arb_map(accel_dev))
dev_warn(&GET_DEV(accel_dev), dev_warn(&GET_DEV(accel_dev),
"Generate of the thread to arbiter map failed"); "Failed to generate thread to arbiter mapping");
return GET_HW_DATA(accel_dev)->thd_to_arb_map; return GET_HW_DATA(accel_dev)->thd_to_arb_map;
} }
......
...@@ -210,7 +210,7 @@ static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev) ...@@ -210,7 +210,7 @@ static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev)
{ {
if (adf_gen4_init_thd2arb_map(accel_dev)) if (adf_gen4_init_thd2arb_map(accel_dev))
dev_warn(&GET_DEV(accel_dev), dev_warn(&GET_DEV(accel_dev),
"Generate of the thread to arbiter map failed"); "Failed to generate thread to arbiter mapping");
return GET_HW_DATA(accel_dev)->thd_to_arb_map; return GET_HW_DATA(accel_dev)->thd_to_arb_map;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment