Re: [PATCH 3/3] net: rsi: netlink: constify genl_ops

2017-08-23 Thread Arvind Yadav
Hi, On Wednesday 23 August 2017 03:32 PM, Kalle Valo wrote: Arvind Yadav writes: genl_ops are not supposed to change at runtime. All functions working with genl_ops provided by work with const genl_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- net/tipc/net

Re: [PATCH 3/3] net: rsi: netlink: constify genl_ops

2017-08-23 Thread Kalle Valo
Arvind Yadav writes: > genl_ops are not supposed to change at runtime. All functions > working with genl_ops provided by work with > const genl_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > net/tipc/netlink_compat.c | 2 +- > 1 file changed, 1 insertion(+

[PATCH 3/3] net: rsi: netlink: constify genl_ops

2017-08-23 Thread Arvind Yadav
genl_ops are not supposed to change at runtime. All functions working with genl_ops provided by work with const genl_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- net/tipc/netlink_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tip