From: Alexey Dobriyan Date: Tue, 16 May 2006 22:07:28 +0000 (-0700) Subject: [IPX]: Correct argument type of ipxrtr_delete(). X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=53d42f541278b6c97724465b19bae4730d7a85c8;p=openwrt%2Fstaging%2Fblogic.git [IPX]: Correct argument type of ipxrtr_delete(). A single caller passes __u32. Inside function "net" is compared with __u32 (__be32 really, just wasn't annotated). Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/ipx/ipx_route.c b/net/ipx/ipx_route.c index 67774448efd9..a394c6fe19a2 100644 --- a/net/ipx/ipx_route.c +++ b/net/ipx/ipx_route.c @@ -119,7 +119,7 @@ out: return rc; } -static int ipxrtr_delete(long net) +static int ipxrtr_delete(__u32 net) { struct ipx_route *r, *tmp; int rc;