aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Xu <[email protected]>2020-11-06 19:27:42 +0800
committerHerbert Xu <[email protected]>2020-11-13 20:38:47 +1100
commited8fc0c1b9c72f016130244b6a46483576fe8e5a (patch)
tree4583980861693c5cf2255b3e23dbd651be32850e
parent49a6cccec4f89777a0ffd2a6d4c3b1af33636b3a (diff)
crypto: qat - fix error message
Change message in error path of qat_uclo_check_image_compat() to report an incompatible firmware image that contains a neighbor register table. Signed-off-by: Jack Xu <[email protected]> Co-developed-by: Wojciech Ziemba <[email protected]> Signed-off-by: Wojciech Ziemba <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
-rw-r--r--drivers/crypto/qat/qat_common/qat_uclo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_common/qat_uclo.c b/drivers/crypto/qat/qat_common/qat_uclo.c
index b475f6bfb90b..063af33c6ca6 100644
--- a/drivers/crypto/qat/qat_common/qat_uclo.c
+++ b/drivers/crypto/qat/qat_common/qat_uclo.c
@@ -536,7 +536,7 @@ qat_uclo_check_image_compat(struct icp_qat_uof_encap_obj *encap_uof_obj,
(encap_uof_obj->beg_uof +
code_page->neigh_reg_tab_offset);
if (neigh_reg_tab->entry_num) {
- pr_err("QAT: UOF can't contain shared control store feature\n");
+ pr_err("QAT: UOF can't contain neighbor register table\n");
return -EINVAL;
}
if (image->numpages > 1) {