crypto: hisilicon/qm - fix the type value of aeq
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8B6T4 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ff3ddca9ca15 ---------------------------------------------------------------------- The type of aeq has only 4bits in dw0 17 to 20bits, but 15bits(17 to 31bits) are read in function qm_aeq_thread(). The remaining 11bits(21 to 31bits) are reserved for aeq, but may not be 0. To avoid getting incorrect value of type, other bits are cleared. Signed-off-by:Weili Qian <qianweili@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
JiangShui Yang <yangjiangshui@h-partners.com>
Loading
Please sign in to comment