linux/drivers/infiniband/hw/hns
Lijun Ou f44c863be2 RDMA/hns: Refactor code for readability
Put the code for checking the send doorbell status into a
separate function and call it from check_qp_db_process_status
to improve indenting and readability.

It fixes the warning from static checker:
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:3562 check_qp_db_process_status()
warn: inconsistent indenting.

Fixes: 5f110ac4be ("IB/hns: Fix for checkpatch.pl comment style)
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-29 12:02:30 -04:00
..
hns_roce_ah.c RDMA/hns: Modify assignment device variable to support both PCI device and platform device 2017-09-27 08:34:55 -04:00
hns_roce_alloc.c RDMA/hns: Modify assignment device variable to support both PCI device and platform device 2017-09-27 08:34:55 -04:00
hns_roce_cmd.c RDMA/hns: Add mailbox's implementation for hip08 RoCE driver 2017-09-27 08:34:55 -04:00
hns_roce_cmd.h RDMA/hns: Add QP operations support for hip08 SoC 2017-09-27 08:34:56 -04:00
hns_roce_common.h RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_cq.c RDMA/hns: Add support for processing send wr and receive wr 2017-09-27 08:34:56 -04:00
hns_roce_device.h RDMA/hns: Delete the unnecessary initializing enum to zero 2017-09-27 08:37:46 -04:00
hns_roce_eq.c IB/hns: include linux/interrupt.h 2017-07-31 14:44:47 -04:00
hns_roce_eq.h IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_hem.c RDMA/hns: make various function static, fixes warnings 2017-09-29 11:18:56 -04:00
hns_roce_hem.h RDMA/hns: Fix inconsistent warning 2017-09-27 08:34:56 -04:00
hns_roce_hw_v1.c RDMA/hns: Refactor code for readability 2017-09-29 12:02:30 -04:00
hns_roce_hw_v1.h RDMA/hns: Add mailbox's implementation for hip08 RoCE driver 2017-09-27 08:34:55 -04:00
hns_roce_hw_v2.c RDMA/hns: make various function static, fixes warnings 2017-09-29 11:18:56 -04:00
hns_roce_hw_v2.h RDMA/hns: Configure the MTPT in hip08 2017-09-27 08:34:56 -04:00
hns_roce_main.c RDMA/hns: Replace condition statement using hardware version information 2017-09-27 08:34:56 -04:00
hns_roce_mr.c RDMA/hns: remove redundant assignment to variable j 2017-09-29 11:18:56 -04:00
hns_roce_pd.c RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_qp.c RDMA/hns: Add support for processing send wr and receive wr 2017-09-27 08:34:56 -04:00
Kconfig RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00
Makefile RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00