]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteee99693ceacd57464a8f241f410421c63e38138
treed9c00fef04b402065e97609497de3ee586e3a7a1
parente4deacdee3e2e22aef64795179be2d7e0388f7d8
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