# Re: \[PATCH\] vxlan: Wrong type passed to %pIS

- From: David Miller \<davem@davemloft.net\>
- Date: 2015-02-09 01:15:06 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/02/4427840
- Thread: https://ratatoskr.run/netdev/2015/02/4427439/t.md

```text
From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Date: Sat,  7 Feb 2015 03:17:31 +0100

> src_ip is a pointer to a union vxlan_addr, one member of which is a
> struct sockaddr. Passing a pointer to src_ip is wrong; one should pass
> the value of src_ip itself. Since %pIS formally expects something of
> type struct sockaddr*, let's pass a pointer to the appropriate union
> member, though this of course doesn't change the generated code.
> 
> Fixes: e4c7ed415387 ("vxlan: add ipv6 support")
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>

Applied, thanks.
```
