[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1501310455-7896-1-git-send-email-Julia.Lawall@lip6.fr>
Date: Sat, 29 Jul 2017 08:40:52 +0200
From: Julia Lawall <Julia.Lawall@...6.fr>
To: linux-decnet-user@...ts.sourceforge.net
Cc: bhumirks@...il.com, kernel-janitors@...r.kernel.org,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
"David S. Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] constify nf_hook_ops structures
The nf_hook_ops structure is only passed as the second argument to
nf_register_net_hook or nf_unregister_net_hook, both of which are
declared as const. Thus the nf_hook_ops structure itself can be
const.
Done with the help of Coccinelle.
---
net/decnet/netfilter/dn_rtmsg.c | 2 +-
net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Powered by blists - more mailing lists