Re: [PATCH] net/smc: mark smc_pnet_policy as const

2020-05-26 Thread David Miller
From: Dmitry Vyukov Date: Mon, 25 May 2020 17:31:58 +0200 > Netlink policies are generally declared as const. > This is safer and prevents potential bugs. > > Signed-off-by: Dmitry Vyukov Applied to net-next, thanks.

[PATCH] net/smc: mark smc_pnet_policy as const

2020-05-25 Thread Dmitry Vyukov
Netlink policies are generally declared as const. This is safer and prevents potential bugs. Signed-off-by: Dmitry Vyukov --- net/smc/smc_pnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/smc/smc_pnet.c b/net/smc/smc_pnet.c index 2a5ed47c3e08..45d5ea570293 100644 ---