diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-07-06 19:27:06 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-09 20:55:28 +0200 |
commit | cbd8e988eb94ee54d890c103b4947bf4a8839fae (patch) | |
tree | e82702ae15de5a61bb9354bfd44d820876b999c9 /drivers/infiniband/hw/cxgb4/cq.c | |
parent | RDMA/rxe: Simplify the error handling code in rxe_create_ah() (diff) | |
download | linux-cbd8e988eb94ee54d890c103b4947bf4a8839fae.tar.xz linux-cbd8e988eb94ee54d890c103b4947bf4a8839fae.zip |
RDMA/cxgb3: Make iwch_poll_cq_one() easier to analyze
Introduce the function __iwch_poll_cq_one() to make iwch_poll_cq_one()
easier to analyze for static source code analyzers. This patch avoids
that sparse reports the following:
drivers/infiniband/hw/cxgb3/iwch_cq.c:187:9: warning: context imbalance in 'iwch_poll_cq_one' - different lock contexts for basic block
Compile-tested only.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Steve Wise <swise@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cq.c')
0 files changed, 0 insertions, 0 deletions