diff options
| author | Parav Pandit <[email protected]> | 2018-07-29 11:53:10 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-07-30 20:49:04 -0600 |
| commit | 2df7dba855e10cca8eddcd38bca825446ea10e1d (patch) | |
| tree | 3d93619a1c5ac1153be6d3026831c69c45042bb3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 219d2e9dfda9431b808c28d5efc74b404b95b638 (diff) | |
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 <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions