mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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 <jack.xu@intel.com> Co-developed-by: Wojciech Ziemba <wojciech.ziemba@intel.com> Signed-off-by: Wojciech Ziemba <wojciech.ziemba@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
49a6cccec4
commit
ed8fc0c1b9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user