aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_cm.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-07-29 11:53:10 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-30 20:49:04 -0600
commit2df7dba855e10cca8eddcd38bca825446ea10e1d (patch)
tree3d93619a1c5ac1153be6d3026831c69c45042bb3 /include/rdma/ib_cm.h
parentRDMA/cma: Simplify rdma_resolve_addr() error flow (diff)
downloadlinux-dev-2df7dba855e10cca8eddcd38bca825446ea10e1d.tar.xz
linux-dev-2df7dba855e10cca8eddcd38bca825446ea10e1d.zip
RDMA/core: Constify dst_addr argument
Following APIs are not supposed to modify addr or dest_addr contents. Therefore make those function argument const for better code readability. 1. rdma_resolve_ip() 2. rdma_addr_size() 3. rdma_resolve_addr() Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_cm.h')
0 files changed, 0 insertions, 0 deletions