aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHaoyue Xu <[email protected]>2021-10-29 09:58:46 +0000
committerJason Gunthorpe <[email protected]>2021-10-29 14:51:34 +0000
commit571fb4fb78a3bf0fcadbe65eca9ca4ccee885af4 (patch)
tree93efc0d4857794256404aa08d5a8209785a581d6 /lib/string_helpers.c
parentRDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string (diff)
downloadkernel-571fb4fb78a3bf0fcadbe65eca9ca4ccee885af4.tar.gz
kernel-571fb4fb78a3bf0fcadbe65eca9ca4ccee885af4.zip
RDMA/hns: Fix initial arm_st of CQ
We set the init CQ status to ARMED before. As a result, an unexpected CEQE would be reported. Therefore, the init CQ status should be set to no_armed rather than REG_NXT_CEQE. Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Haoyue Xu <[email protected]> Signed-off-by: Wenpeng Liang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions