[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1370239147.2025.0.camel@joe-AO722>
Date: Sun, 02 Jun 2013 22:59:07 -0700
From: Joe Perches <joe@...ches.com>
To: Cong Wang <amwang@...hat.com>
Cc: netdev@...r.kernel.org, Lorenzo Colitti <lorenzo@...gle.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [Patch net-next 1/2] ping: some cleanup for net/ipv4/ping.c
On Mon, 2013-06-03 at 13:55 +0800, Cong Wang wrote:
> From: Cong Wang <amwang@...hat.com>
[]
> 3. fix "%pI6c" format
[]
> diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c
[]
> @@ -318,7 +318,7 @@ int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk,
> return -EINVAL;
>
> pr_debug("ping_check_bind_addr(sk=%p,addr=%pI6c,port=%d)\n",
> - sk, addr->sin6_addr.s6_addr, ntohs(addr->sin6_port));
> + sk, &addr->sin6_addr, ntohs(addr->sin6_port));
why does this matter?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists