public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Hans Schillstrom" <hans@schillstrom•com>
To: Simon Horman <horms@verge•net.au>
Cc: netdev@vger•kernel.org, linux-next@vger•kernel.org,
	linux-kernel@vger•kernel.org, lvs-devel@vger•kernel.org,
	Randy Dunlap <randy.dunlap@oracle•com>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	Patrick McHardy <kaber@trash•net>
Subject: Re: [PATCH 1/5] IPVS: use z modifier for sizeof() argument
Date: Tue, 1 Feb 2011 18:06:04 +0100 (CET)	[thread overview]
Message-ID: <7j2t3lt.0bb71e5c0a810a6ca8a0973db50566ea@obelix.schillstrom.com> (raw)

>---- Original Message ----
>From: Simon Horman <horms@verge•net.au>
>To: netdev@vger•kernel.org, linux-next@vger•kernel.org, linux-kernel@vger•kernel.org, lvs-devel@vger•kernel.org
>Cc: "Randy Dunlap" <randy.dunlap@oracle•com>, "Stephen Rothwell" <sfr@canb•auug.org.au>, "Hans Schillstrom" <hans@schillstrom•com>, "Patrick McHardy" <kaber@trash•net>, "Simon Horman" <horms@verge•net.au>
>Sent: Tue, Feb 1, 2011, 11:08 AM
>Subject: [PATCH 1/5] IPVS: use z modifier for sizeof() argument
>
>Cc: Hans Schillstrom <hans@schillstrom•com>
>Reported-by: Randy Dunlap <randy.dunlap@oracle•com>
>Signed-off-by: Simon Horman <horms@verge•net.au>

Signed-off-by: Hans Schillstrom <hans@schillstrom•com>
Tested-by: Hans Schillstrom <hans@schillstrom•com>

>---
> 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@vger•kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html


             reply	other threads:[~2011-02-01 17:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 17:06 Hans Schillstrom [this message]
2011-02-01 17:23 ` [PATCH 1/5] IPVS: use z modifier for sizeof() argument Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2011-02-01 10:07 [GIT PULL nf-next-2.6 v2] IPVS build fixes and clean-ups Simon Horman
2011-02-01 10:07 ` [PATCH 1/5] IPVS: use z modifier for sizeof() argument Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7j2t3lt.0bb71e5c0a810a6ca8a0973db50566ea@obelix.schillstrom.com \
    --to=hans@schillstrom$(echo .)com \
    --cc=horms@verge$(echo .)net.au \
    --cc=kaber@trash$(echo .)net \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=lvs-devel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=randy.dunlap@oracle$(echo .)com \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox