LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH 1/5] IPVS: use z modifier for sizeof() argument

To: "Simon Horman" <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH 1/5] IPVS: use z modifier for sizeof() argument
Cc: netdev@xxxxxxxxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, "Randy Dunlap" <randy.dunlap@xxxxxxxxxx>, "Stephen Rothwell" <sfr@xxxxxxxxxxxxxxxx>, "Patrick McHardy" <kaber@xxxxxxxxx>
From: "Hans Schillstrom" <hans@xxxxxxxxxxxxxxx>
Date: Tue, 1 Feb 2011 18:06:04 +0100 (CET)
>---- Original Message ----
>From: Simon Horman <horms@xxxxxxxxxxxx>
>To: netdev@xxxxxxxxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, 
>linux-kernel@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx
>Cc: "Randy Dunlap" <randy.dunlap@xxxxxxxxxx>, "Stephen Rothwell" 
><sfr@xxxxxxxxxxxxxxxx>, "Hans Schillstrom" <hans@xxxxxxxxxxxxxxx>, "Patrick 
>McHardy" <kaber@xxxxxxxxx>, "Simon Horman" <horms@xxxxxxxxxxxx>
>Sent: Tue, Feb 1, 2011, 11:08 AM
>Subject: [PATCH 1/5] IPVS: use z modifier for sizeof() argument
>
>Cc: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>
>Reported-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Signed-off-by: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>
Tested-by: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>

>---
> net/netfilter/ipvs/ip_vs_core.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
>index d889f4f..4d06617 100644
>--- a/net/netfilter/ipvs/ip_vs_core.c
>+++ b/net/netfilter/ipvs/ip_vs_core.c
>@@ -1887,7 +1887,7 @@ static int __net_init __ip_vs_init(struct net *net)
>       ipvs->gen = atomic_read(&ipvs_netns_cnt);
>       atomic_inc(&ipvs_netns_cnt);
>       net->ipvs = ipvs;
>-      printk(KERN_INFO "IPVS: Creating netns size=%lu id=%d\n",
>+      printk(KERN_INFO "IPVS: Creating netns size=%zu id=%d\n",
>                        sizeof(struct netns_ipvs), ipvs->gen);
>       return 0;
> }
>-- 
>1.7.2.3
>
>--
>To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>