Thread (4 messages) 4 messages, 4 authors, 2015-02-09

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

flat view

From: Joe Perches <joe@perches.com>
Date: 2015-02-07 03:35:43
Also in: lkml

On Sat, 2015-02-07 at 03:17 +0100, Rasmus Villemoes wrote:
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.
Hello Rasmus

Are you finding these mismatches by hand or
are you using some tool?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help