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
..
2009-02-26 23:39:23 -08:00
2009-03-02 01:49:28 -08:00
2009-08-05 10:42:58 -07:00
2009-04-09 17:21:20 -07:00
2009-02-26 23:39:25 -08:00
2009-08-05 10:42:58 -07:00
2009-02-26 23:39:33 -08:00
2009-07-20 08:03:15 -07:00
2009-03-03 21:39:40 -08:00
2009-02-26 23:39:26 -08:00
2009-02-26 23:39:26 -08:00
2009-02-26 23:43:35 -08:00
2009-02-26 23:39:28 -08:00
2009-02-26 23:39:28 -08:00
2009-04-09 17:21:20 -07:00
2009-02-26 23:39:29 -08:00
2009-08-05 10:42:58 -07:00
2009-08-05 10:42:58 -07:00
2009-02-26 23:39:26 -08:00
2009-02-26 23:39:25 -08:00
2009-02-26 23:39:24 -08:00