android_kernel_xiaomi_sm8350/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
..
af_rds.c RDS: remove unused #include <version.h> 2009-04-09 17:21:20 -07:00
bind.c
cong.c
connection.c RDS: Refactor end of __conn_create for readability 2009-07-20 08:03:17 -07:00
ib_cm.c RDS/IB: Drop connection when a fatal QP event is received 2009-07-20 08:03:11 -07:00
ib_rdma.c RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
ib_recv.c RDS/IB: Rename byte_len to data_len to enhance readability 2009-07-20 08:03:07 -07:00
ib_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
ib_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ib_sysctl.c RDS/IB: Disable flow control in sysctl and explain why 2009-07-20 08:03:10 -07:00
ib.c RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
ib.h RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
info.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
info.h
iw_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_rdma.c RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
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
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
Kconfig
loop.c
loop.h
Makefile
message.c
page.c
rdma_transport.c net/rds: Use AF_INET for sin_family field 2009-08-05 20:30:13 -07:00
rdma_transport.h
rdma.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
rdma.h
rds.h net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
recv.c RDS: Fix completion notifications on blocking sockets 2009-07-20 08:03:12 -07:00
send.c RDS: Establish connection before parsing CMSGs 2009-04-09 17:21:19 -07:00
stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
sysctl.c
threads.c
transport.c