diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-12-17 13:20:41 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-19 15:07:26 -0500 |
commit | ffd5980695d165f0b811b5f57accb23fce5c33af (patch) | |
tree | 103fe751ade3e748a18bec5a27472752f9b964b8 /drivers/infiniband/ulp/srpt/ib_srpt.h | |
parent | RDMA/srpt: Fix a use-after-free in the channel release code (diff) | |
download | linux-dev-ffd5980695d165f0b811b5f57accb23fce5c33af.tar.xz linux-dev-ffd5980695d165f0b811b5f57accb23fce5c33af.zip |
RDMA/srpt: Improve coding style conformance
Use tabs instead of spaces for indentation. Make sure that multi-line
expressions have the operator at the end of a line instead of the start.
Avoid a complaint about a missing space in a ternary expression by
changing '(boolean) ? 1: 0' into 'boolean'.
Cc: Sergey Gorenko <sergeygo@mellanox.com>
Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/srpt/ib_srpt.h')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.h b/drivers/infiniband/ulp/srpt/ib_srpt.h index ce8b14f83785..c4a0b8519dbb 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.h +++ b/drivers/infiniband/ulp/srpt/ib_srpt.h @@ -179,7 +179,7 @@ struct srpt_recv_ioctx { struct srpt_ioctx ioctx; struct list_head wait_list; }; - + struct srpt_rw_ctx { struct rdma_rw_ctx rw; struct scatterlist *sg; |