Re: [PATCH 3/3 v3] net: tipc: constify genl_ops
From: David Miller <davem@davemloft.net>
Date: 2017-08-24 05:32:14
Also in:
lkml, netdev
From: David Miller <davem@davemloft.net>
Date: 2017-08-24 05:32:14
Also in:
lkml, netdev
From: Arvind Yadav <redacted> Date: Wed, 23 Aug 2017 16:22:20 +0530
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 <redacted>
Applied.