crypto: hisilicon/qm - add comments and remove redundant array element
authorWeili Qian <qianweili@huawei.com>
Sat, 25 Nov 2023 11:50:11 +0000 (19:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Dec 2023 10:03:26 +0000 (18:03 +0800)
commita10d17a4a6190c442d4b1448a23c5674f94eb46b
tree7ffd95890e5b82d5e83642d9473e24c3c24181e8
parentc66272a4c9932d6c585eef99039747617d48d662
crypto: hisilicon/qm - add comments and remove redundant array element

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>
drivers/crypto/hisilicon/qm.c