Johannes Berg
c53ed74236
genetlink: only pass array to genl_register_family_with_ops()
...
As suggested by David Miller, make genl_register_family_with_ops()
a macro and pass only the array, evaluating ARRAY_SIZE() in the
macro, this is a little safer.
The openvswitch has some indirection, assing ops/n_ops directly in
that code. This might ultimately just assign the pointers in the
family initializations, saving the struct genl_family_and_ops and
code (once mcast groups are handled differently.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-11-19 16:39:05 -05:00
..
2013-11-12 11:16:44 +09:00
2013-11-13 15:18:22 +09:00
2013-11-19 15:53:02 -05:00
2013-11-13 15:34:18 +09:00
2013-11-13 17:40:34 +09:00
2013-10-28 14:39:03 -07:00
2013-11-05 15:58:21 -05:00
2013-11-11 17:05:37 +09:00
2013-11-13 17:40:34 +09:00
2013-11-12 16:52:17 +09:00
2013-11-14 17:19:20 -05:00
2013-11-12 16:52:17 +09:00
2013-11-11 09:10:50 -06:00
2013-11-13 12:09:23 +09:00
2013-11-12 16:52:17 +09:00
2013-11-12 11:16:44 +09:00
2013-11-12 16:52:17 +09:00
2013-11-13 15:34:18 +09:00
2013-11-07 15:07:58 +09:00
2013-11-12 15:01:39 +09:00
2013-11-07 10:34:46 -06:00
2013-11-12 14:13:14 +09:00
2013-10-24 14:48:14 +01:00
2013-11-07 19:22:47 -05:00
2013-11-12 16:52:17 +09:00
2013-11-13 12:09:00 +09:00
2013-11-12 10:02:59 +09:00
2013-11-14 16:50:20 -05:00
2013-10-25 10:13:25 -07:00
2013-11-12 16:52:17 +09:00
2013-11-07 11:42:15 +09:00
2013-11-13 15:45:43 +09:00
2013-11-13 12:09:35 +09:00
2013-11-13 12:09:26 +09:00
2013-11-12 15:29:53 +09:00
2013-11-12 16:52:17 +09:00
2013-11-13 15:34:18 +09:00
2013-11-19 16:39:05 -05:00
2013-11-12 16:52:17 +09:00
2013-11-12 14:13:14 +09:00
2013-11-12 16:52:17 +09:00
2013-11-12 16:52:17 +09:00
2013-10-24 16:18:40 +01:00
2013-11-12 15:50:46 +09:00
2013-11-12 15:29:53 +09:00
2013-11-13 12:09:35 +09:00
2013-10-24 11:11:43 +01:00
2013-11-13 12:09:31 +09:00
2013-11-13 17:40:34 +09:00
2013-11-07 11:42:15 +09:00
2013-11-12 16:52:17 +09:00
2013-11-13 15:45:43 +09:00
2013-10-25 10:42:09 -07:00
2013-11-12 16:52:17 +09:00
2013-11-13 12:09:23 +09:00
2013-11-13 15:34:18 +09:00
2013-11-07 11:42:15 +09:00
2013-10-25 11:03:34 -07:00
2013-11-13 12:09:22 +09:00
2013-11-13 12:09:35 +09:00
2013-11-12 16:52:17 +09:00