kernel-ark/net/wimax
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
..
debug-levels.h wimax: Add netlink interface to get device state 2009-05-28 18:02:20 -07:00
debugfs.c wimax: Add netlink interface to get device state 2009-05-28 18:02:20 -07:00
id-table.c wimax: fix oops in wimax_dev_get_by_genl_info() when looking up non-wimax iface 2009-02-12 17:00:20 -08:00
Kconfig wimax: depend on rfkill properly 2009-06-04 10:58:15 -04:00
Makefile wimax: Add netlink interface to get device state 2009-05-28 18:02:20 -07:00
op-msg.c wimax: use genl_register_family_with_ops() 2013-11-14 17:10:40 -05:00
op-reset.c wimax: use genl_register_family_with_ops() 2013-11-14 17:10:40 -05:00
op-rfkill.c wimax: use genl_register_family_with_ops() 2013-11-14 17:10:40 -05:00
op-state-get.c wimax: use genl_register_family_with_ops() 2013-11-14 17:10:40 -05:00
stack.c genetlink: only pass array to genl_register_family_with_ops() 2013-11-19 16:39:05 -05:00
wimax-internal.h wimax: use genl_register_family_with_ops() 2013-11-14 17:10:40 -05:00