]> err.no Git - linux-2.6/blobdiff - net/ipv4/fib_frontend.c
[IPV4]: inet_addr_type() annotations
[linux-2.6] / net / ipv4 / fib_frontend.c
index c0bd2f122da247d77b308b9e7b527d8e44608dc1..34dc640478a037e8de8b8b85ccb8c09851416e2d 100644 (file)
@@ -146,7 +146,7 @@ out:
        return dev;
 }
 
-unsigned inet_addr_type(u32 addr)
+unsigned inet_addr_type(__be32 addr)
 {
        struct flowi            fl = { .nl_u = { .ip4_u = { .daddr = addr } } };
        struct fib_result       res;