Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1718846

Re: [PATCH 3/3 v3] net: tipc: constify genl_ops

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3 v3] net: tipc: constify genl_ops
Date 2017-08-24 07:40 +0200
Message-ID <uhT22-2ii-9@gated-at.bofh.it> (permalink)
References <uhBy9-7Te-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arvind Yadav <arvind.yadav.cs@gmail.com>
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 <arvind.yadav.cs@gmail.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 3/3 v3] net: tipc: constify genl_ops Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-23 13:00 +0200
  Re: [PATCH 3/3 v3] net: tipc: constify genl_ops David Miller <davem@davemloft.net> - 2017-08-24 07:40 +0200

csiph-web