netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] Use %u format specifiers
@ 2007-12-07  2:35 Jan Engelhardt
  2007-12-07  2:36 ` [PATCH 2/7] Introduce nf_inet_address Jan Engelhardt
                   ` (6 more replies)
  0 siblings, 7 replies; 35+ messages in thread
From: Jan Engelhardt @ 2007-12-07  2:35 UTC (permalink / raw)
  To: kaber; +Cc: Netfilter Developer Mailing List


Use %u format specifiers as ->family is unsigned.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>

---
 net/ipv4/netfilter/ipt_CLUSTERIP.c |    2 +-
 net/netfilter/xt_CONNMARK.c        |    2 +-
 net/netfilter/xt_CONNSECMARK.c     |    2 +-
 net/netfilter/xt_connbytes.c       |    2 +-
 net/netfilter/xt_connmark.c        |    2 +-
 net/netfilter/xt_conntrack.c       |    2 +-
 net/netfilter/xt_helper.c          |    2 +-
 net/netfilter/xt_state.c           |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

Index: linux-2.6/net/ipv4/netfilter/ipt_CLUSTERIP.c
===================================================================
--- linux-2.6.orig/net/ipv4/netfilter/ipt_CLUSTERIP.c
+++ linux-2.6/net/ipv4/netfilter/ipt_CLUSTERIP.c
@@ -414,7 +414,7 @@ clusterip_tg_check(const char *tablename
 
 	if (nf_ct_l3proto_try_module_get(target->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", target->family);
+				    "proto=%u\n", target->family);
 		return false;
 	}
 
Index: linux-2.6/net/netfilter/xt_CONNMARK.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_CONNMARK.c
+++ linux-2.6/net/netfilter/xt_CONNMARK.c
@@ -95,7 +95,7 @@ connmark_tg_check(const char *tablename,
 	}
 	if (nf_ct_l3proto_try_module_get(target->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", target->family);
+				    "proto=%u\n", target->family);
 		return false;
 	}
 	return true;
Index: linux-2.6/net/netfilter/xt_CONNSECMARK.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_CONNSECMARK.c
+++ linux-2.6/net/netfilter/xt_CONNSECMARK.c
@@ -103,7 +103,7 @@ connsecmark_tg_check(const char *tablena
 
 	if (nf_ct_l3proto_try_module_get(target->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", target->family);
+				    "proto=%u\n", target->family);
 		return false;
 	}
 	return true;
Index: linux-2.6/net/netfilter/xt_connbytes.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_connbytes.c
+++ linux-2.6/net/netfilter/xt_connbytes.c
@@ -111,7 +111,7 @@ connbytes_mt_check(const char *tablename
 
 	if (nf_ct_l3proto_try_module_get(match->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", match->family);
+				    "proto=%u\n", match->family);
 		return false;
 	}
 
Index: linux-2.6/net/netfilter/xt_connmark.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_connmark.c
+++ linux-2.6/net/netfilter/xt_connmark.c
@@ -61,7 +61,7 @@ connmark_mt_check(const char *tablename,
 	}
 	if (nf_ct_l3proto_try_module_get(match->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", match->family);
+				    "proto=%u\n", match->family);
 		return false;
 	}
 	return true;
Index: linux-2.6/net/netfilter/xt_conntrack.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_conntrack.c
+++ linux-2.6/net/netfilter/xt_conntrack.c
@@ -117,7 +117,7 @@ conntrack_mt_check(const char *tablename
 {
 	if (nf_ct_l3proto_try_module_get(match->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", match->family);
+				    "proto=%u\n", match->family);
 		return false;
 	}
 	return true;
Index: linux-2.6/net/netfilter/xt_helper.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_helper.c
+++ linux-2.6/net/netfilter/xt_helper.c
@@ -66,7 +66,7 @@ helper_mt_check(const char *tablename, c
 
 	if (nf_ct_l3proto_try_module_get(match->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", match->family);
+				    "proto=%u\n", match->family);
 		return false;
 	}
 	info->name[29] = '\0';
Index: linux-2.6/net/netfilter/xt_state.c
===================================================================
--- linux-2.6.orig/net/netfilter/xt_state.c
+++ linux-2.6/net/netfilter/xt_state.c
@@ -47,7 +47,7 @@ state_mt_check(const char *tablename, co
 {
 	if (nf_ct_l3proto_try_module_get(match->family) < 0) {
 		printk(KERN_WARNING "can't load conntrack support for "
-				    "proto=%d\n", match->family);
+				    "proto=%u\n", match->family);
 		return false;
 	}
 	return true;


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2007-12-17 13:45 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07  2:35 [PATCH 1/7] Use %u format specifiers Jan Engelhardt
2007-12-07  2:36 ` [PATCH 2/7] Introduce nf_inet_address Jan Engelhardt
2007-12-11 10:16   ` Patrick McHardy
2007-12-15 12:06     ` Jan Engelhardt
2007-12-15 16:21       ` Jan Engelhardt
2007-12-17 12:52         ` Patrick McHardy
2007-12-17 12:28       ` Patrick McHardy
2007-12-17 12:51         ` Jan Engelhardt
2007-12-17 13:00           ` Patrick McHardy
2007-12-07  2:40 ` [PATCH 3/7] xt_connlimit rev 1 Jan Engelhardt
2007-12-11 10:19   ` Patrick McHardy
2007-12-15 12:20     ` [PATCH 3/7] Let xt_connlimit use nf_inet_addr Jan Engelhardt
2007-12-17 12:33       ` Patrick McHardy
2007-12-17 12:52         ` Jan Engelhardt
2007-12-17 12:54           ` Patrick McHardy
2007-12-07  2:41 ` [PATCH 4/7] xt_mark match rev 1 Jan Engelhardt
2007-12-11 10:25   ` Patrick McHardy
2007-12-15 12:28     ` Jan Engelhardt
2007-12-15 15:55       ` Pablo Neira Ayuso
2007-12-15 16:10         ` Jan Engelhardt
2007-12-15 16:42           ` Pablo Neira Ayuso
2007-12-15 21:26             ` Jan Engelhardt
2007-12-17 12:49               ` Patrick McHardy
2007-12-17 12:47             ` Patrick McHardy
2007-12-17 13:08               ` Pablo Neira Ayuso
2007-12-17 13:44                 ` Patrick McHardy
2007-12-17 12:37       ` Patrick McHardy
2007-12-17 12:55         ` Jan Engelhardt
2007-12-07  2:41 ` [PATCH 5/7] xt_MARK target rev 2 Jan Engelhardt
2007-12-11 10:27   ` Patrick McHardy
2007-12-15 13:59     ` Jan Engelhardt
2007-12-15 14:47       ` Jan Engelhardt
2007-12-07  2:42 ` [PATCH 6/7] xt_connmark rev 1 Jan Engelhardt
2007-12-07  2:42 ` [PATCH 7/7] xt_CONNMARK " Jan Engelhardt
2007-12-11 10:13 ` [PATCH 1/7] Use %u format specifiers Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).