]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srpt: Rename a local variable, a member variable and a constant
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 8 Jan 2018 19:00:43 +0000 (11:00 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 8 Jan 2018 21:05:12 +0000 (16:05 -0500)
commit69388ae7341e7c1e4c7d703753f6c79dd419da62
tree45372785b4f13a79b624357364972ce574a88b1a
parent8f68b38eea5e4f2c99a81e75b067fe1804d44ef8
IB/srpt: Rename a local variable, a member variable and a constant

Rename rsp_size into max_rsp_size and SRPT_RQ_SIZE into MAX_SRPT_RQ_SIZE.
The new names better reflect the role of this member variable and constant.
Since the prefix "srp_" is superfluous in the context of the function
that creates an RDMA channel, rename srp_sq_size into sq_size.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h