]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: mark smc_pnet_policy as const
authorDmitry Vyukov <dvyukov@google.com>
Mon, 25 May 2020 15:31:58 +0000 (17:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:19:13 +0000 (20:19 -0700)
commit95f94fbff0184a3288cca88b7042ba68318c4f53
treeee274113eb7349a0d34b81a0e782396a0f326aaf
parent0dec9e847fab2549092cca1564a2187f24fcd355
net/smc: mark smc_pnet_policy as const

Netlink policies are generally declared as const.
This is safer and prevents potential bugs.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c