lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri,  6 Nov 2020 16:35:13 +0800
From:   Alex Shi <alex.shi@...ux.alibaba.com>
To:     pablo@...filter.org
Cc:     Jozsef Kadlecsik <kadlec@...filter.org>,
        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] netfilter: remove unused macro DUMP_INIT to tame gcc

net/netfilter/ipset/ip_set_core.c:1416:0: warning: macro "DUMP_INIT" is
not used [-Wunused-macros]

This macro unused and cause above warning. So let's remove it.

Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Pablo Neira Ayuso <pablo@...filter.org> 
Cc: Jozsef Kadlecsik <kadlec@...filter.org> 
Cc: Florian Westphal <fw@...len.de> 
Cc: "David S. Miller" <davem@...emloft.net> 
Cc: netfilter-devel@...r.kernel.org 
Cc: coreteam@...filter.org 
Cc: netdev@...r.kernel.org 
Cc: linux-kernel@...r.kernel.org 
---
 net/netfilter/ipset/ip_set_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/netfilter/ipset/ip_set_core.c b/net/netfilter/ipset/ip_set_core.c
index c7eaa3776238..69c10878bf97 100644
--- a/net/netfilter/ipset/ip_set_core.c
+++ b/net/netfilter/ipset/ip_set_core.c
@@ -1420,7 +1420,6 @@ static int ip_set_swap(struct net *net, struct sock *ctnl, struct sk_buff *skb,
 
 /* List/save set data */
 
-#define DUMP_INIT	0
 #define DUMP_ALL	1
 #define DUMP_ONE	2
 #define DUMP_LAST	3
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ