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-26 00:23:42 -04:00
2009-06-23 01:54:30 -04:00
2009-06-16 19:50:13 -07:00
2009-07-03 21:06:45 +02:00
2009-06-15 03:02:23 -07:00
2009-07-03 15:45:29 +01:00
2009-06-24 21:08:11 +09:00
2009-06-12 18:01:50 +02:00
2009-06-15 11:49:41 -04:00
2009-06-18 19:31:09 +08:00
2009-06-24 18:34:40 +01:00
2009-06-30 18:55:59 -07:00
2009-06-16 19:50:13 -07:00
2009-06-22 21:29:52 -07:00
2009-06-17 09:35:24 -07:00
2009-07-03 15:45:29 +01:00
2009-06-25 17:04:37 -07:00
2009-06-15 21:30:25 -07:00
2009-06-16 19:50:13 -07:00
2009-06-25 11:22:12 -07:00
2009-06-29 19:31:41 -07:00
2009-06-22 21:29:52 -07:00
2009-07-05 19:16:04 -07:00
2009-06-23 10:38:47 -07:00
2009-07-03 15:45:29 +01:00
2009-07-05 19:23:38 -07:00
2009-07-03 15:45:29 +01:00
2009-06-30 18:55:58 -07:00
2009-06-26 14:37:25 +10:00
2009-07-01 10:41:09 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2009-07-03 11:54:57 +02:00
2009-07-05 19:16:04 -07:00
2009-06-30 18:56:00 -07:00
2009-06-28 10:24:13 +01:00
2009-07-12 20:11:32 -07:00
2009-06-15 09:40:05 -07:00
2009-07-03 03:34:12 +00:00
2009-06-30 18:55:59 -07:00
2009-07-02 16:51:09 -07:00
2009-07-03 15:45:29 +01:00
2009-07-09 20:18:24 -07:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-06-15 21:45:32 -05:00
2009-06-15 11:18:27 +01:00
2009-07-03 15:45:29 +01:00
2009-07-05 19:23:38 -07:00
2009-06-16 04:56:57 -07:00
2009-07-04 09:46:01 -07:00
2009-07-03 15:45:29 +01:00
2009-06-12 01:34:12 +03:00
2009-06-30 18:56:00 -07:00
2009-07-09 20:18:24 -07:00
2009-07-10 14:57:54 -04:00
2009-06-15 21:30:27 -07:00
2009-07-05 19:16:04 -07:00
2009-07-04 10:39:06 -07:00
2009-06-12 22:16:40 +09:30
2009-06-16 19:47:52 -07:00
2009-06-24 14:35:57 -07:00
2009-06-26 16:55:37 +10:00
2009-06-12 21:32:31 +02:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00