From: Alexey Dobriyan Date: Tue, 16 May 2006 22:07:28 +0000 (-0700) Subject: [IPX]: Correct argument type of ipxrtr_delete(). X-Git-Tag: v2.6.17-rc5~104^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d42f541278b6c97724465b19bae4730d7a85c8;p=linux-2.6 [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 67774448ef..a394c6fe19 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;