Loading
crypto: hisilicon_qm - fix the uacce_alloc return value check
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB9H0P CVE: NA ---------------------------------------------------------------------- The uacce_alloc mentions that caller needs check returned negotiated uacce->flags. And now it will clear the bit UACCE_DEV_SVA if failed to enable sva. So the qm need to remove uacce if 'flags' changes. Fixes: 9e00df71 ("crypto: hisilicon - register zip engine to uacce") Signed-off-by:Yang Shen <shenyang39@huawei.com> Signed-off-by:
JiangShui Yang <yangjiangshui@h-partners.com>