smc: generic netlink family should be __ro_after_init
authorJohannes Berg <johannes.berg@intel.com>
Thu, 20 Sep 2018 07:27:30 +0000 (09:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 14:49:55 +0000 (07:49 -0700)
commit56ce3c5a50f4d8cc95361b1ec7f152006c6320d8
treed9c00fef04b402065e97609497de3ee586e3a7a1
parentf9d5b1d50840320fb6c66fafd1a532a995fc3758
smc: generic netlink family should be __ro_after_init

The generic netlink family is only initialized during module init,
so it should be __ro_after_init like all other generic netlink
families.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c