linux/net/rds
Julia Lawall 3d7ddd540b net/rds: 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:
(http://coccinelle.lip6.fr/)

// <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: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-05 20:30:13 -07:00
..
Kconfig
Makefile
af_rds.c
bind.c
cong.c
connection.c RDS: Refactor end of __conn_create for readability 2009-07-20 08:03:17 -07:00
ib.c
ib.h
ib_cm.c
ib_rdma.c
ib_recv.c
ib_ring.c
ib_send.c
ib_stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ib_sysctl.c
info.c
info.h
iw.c RDS/IW: Remove dead code 2009-07-20 08:03:15 -07:00
iw.h RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_cm.c
iw_rdma.c RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_recv.c
iw_ring.c
iw_send.c RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
iw_sysctl.c
loop.c
loop.h
message.c
page.c
rdma.c
rdma.h
rdma_transport.c net/rds: Use AF_INET for sin_family field 2009-08-05 20:30:13 -07:00
rdma_transport.h
rds.h net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
recv.c
send.c
stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
sysctl.c
threads.c
transport.c