linux/drivers/infiniband/hw/cxgb4
ssh10 b462b06eb6 RDMA/cxgb4: Use AF_INET for sin_family field
Elsewhere the sin_family field holds a value with a name of the form
AF_..., so it seems reasonable to do so here as well.  Also the values
of PF_INET and AF_INET are the same.

The semantic patch that makes this change is as follows:

//</smpl>
@@
struct sockaddr_in sip;
@@

(
sip.sin_family ==
- PF_INET
+ AF_INET
|
sip.sin_family !=
- PF_INET
+ AF_INET
|
sip.sin_family =
- PF_INET
+ AF_INET
)
//</smpl>

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-12 12:21:52 -05:00
..
cm.c RDMA/cxgb4: Use AF_INET for sin_family field 2017-01-12 12:21:52 -05:00
cq.c iw_cxgb4: invalidate the mr when posting a read_w_inv wr 2016-11-16 20:10:36 -05:00
device.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
ev.c InfiniBand/RDMA changes for 3.20 merge window: 2015-02-21 12:53:21 -08:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h iw_cxgb4: invalidate the mr when posting a read_w_inv wr 2016-11-16 20:10:36 -05:00
Kconfig libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
Makefile libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
mem.c iw_cxgb4: invalidate the mr when posting a read_w_inv wr 2016-11-16 20:10:36 -05:00
provider.c IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
qp.c First round of -rc fixes for 4.10 kernel 2016-12-23 10:38:48 -08:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
t4fw_ri_api.h iw_cxgb4: add fast-path for small REG_MR operations 2016-10-07 16:54:40 -04:00