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
---
Changes in v2:
Patch Subject was wrong.
net/tipc/netlink_compat.c | 2 +-
1 file change
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
> ---
> Changes in v2:
> Patch Subject was wrong.
>
> net/ti
Hi Kalle,
On Wednesday 23 August 2017 03:50 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
---
Changes