Files
linux/drivers/net
Julia Lawall 8e321c4f72 drivers/net/bonding: Adjust constant name
AD_SHORT_TIMEOUT and AD_STATE_LACP_ACTIVITY have the same value, but
AD_STATE_LACP_ACTIVITY better reflects the intended semantics.

[ J adds: AD_STATE_LACP_ACTIVITY is a value defined by the standard, and
should be set here in accordance with 802.3ad 43.4.12; AD_SHORT_TIMEOUT
is a constant specific to the Linux 802.3ad implementation that happens
to have the same value ]

The semantic match that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
struct port_params p;
@@
* p.port_state |= AD_SHORT_TIMEOUT
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-12 20:11:32 -07:00
..
2009-06-11 17:23:24 -07:00
2009-07-06 18:07:52 -07:00
2009-04-28 02:05:21 -07:00
2009-07-03 19:10:51 -07:00
2009-07-05 19:16:44 -07:00
2009-07-10 15:02:34 -04:00
2009-05-26 20:35:02 -07:00
2009-04-24 04:45:33 -07:00
2009-05-29 01:46:27 -07:00
2009-04-04 16:51:14 -07:00
2009-06-21 11:00:33 -05:00
2009-05-29 01:46:27 -07:00
2009-07-06 18:54:51 -07:00
2009-07-06 18:54:51 -07:00
2009-07-05 18:03:33 -07:00
2009-04-16 02:20:08 -07:00
2009-07-06 13:05:11 -07:00
2009-07-06 13:05:13 -07:00
2009-05-29 01:51:22 -07:00
2009-06-08 00:20:20 -07:00
2009-04-16 02:20:16 -07:00
2009-04-13 15:16:26 -07:00
2009-06-25 20:06:34 -07:00
2009-04-16 02:20:21 -07:00
2009-06-18 00:29:08 -07:00
2009-06-22 11:32:24 -07:00
2009-06-22 11:32:24 -07:00
2009-06-03 02:51:04 -07:00
2009-06-19 01:12:52 -07:00
2009-04-29 17:32:34 -07:00
2009-05-25 22:49:56 -07:00
2009-05-29 01:46:27 -07:00
2009-06-26 09:28:42 -07:00
2009-06-17 18:46:54 -07:00
2009-03-27 00:46:48 -07:00
2009-03-20 00:51:22 -07:00
2009-06-08 00:21:48 -07:00
2009-04-13 15:16:21 -07:00