Loading
crypto: hisilicon/qm - add comments and remove redundant array element
mainline inclusion from mainline-v6.8-rc1 commit a10d17a4a6190c442d4b1448a23c5674f94eb46b category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I925L9 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a10d17a4a6190c442d4b1448a23c5674f94eb46b ---------------------------------------------------------------------- 1. Remove redundant array element, prevent the size obtained by ARRAY_SIZE() from qm_log_hw_error is greater than actual size. 2. Add comments in function qm_set_vf_mse() and qm_cq_ctx_cfg() to make it easier to understand. Signed-off-by:Weili Qian <qianweili@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
JangShui Yang <yangjiangshui@h-partners.com>