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

From: Arvind Yadav
Date: Wed Aug 23 2017 - 06:05:29 EST


Hi,


On Wednesday 23 August 2017 03:32 PM, Kalle Valo wrote:
Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> writes:

genl_ops are not supposed to change at runtime. All functions
working with genl_ops provided by <net/genetlink.h> work with
const genl_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
---
net/tipc/netlink_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Using the prefix "rsi:" looks wrong for this patch.
Thanks for pointing. I will update.

~arvind