History

fou6: fix proto error handler argument type

Last argument of gue6_err_proto_handler() has a wrong type annotation, fix it and make sparse happy again.

Paolo Abeni committed 7 years ago

Commit 5de362d1 parent 543fc3f1 file · +1 −1Browse files

Unified · Split

net/ipv6/fou6.c+1−1
@@ -72,7 +72,7 @@ static int gue6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, · 71 unmodified lines
7272
7373 static int gue6_err_proto_handler(int proto, struct sk_buff *skb,
7474 struct inet6_skb_parm *opt,
75− u8 type, u8 code, int offset, u32 info)
75+ u8 type, u8 code, int offset, __be32 info)
7676 {
7777 const struct inet6_protocol *ipprot;
7878