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
linux-wireless, lkml
Reply to
Arvind Yadav, 2017-08-23
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.
Thread (2 messages) 2 messages, 2 authors, last reply 2017-08-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help