summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-05-17 00:07:28 +0200
committerDavid S. Miller <davem@davemloft.net>2006-05-17 00:07:28 +0200
commit53d42f541278b6c97724465b19bae4730d7a85c8 (patch)
treecf974cb6debb01c7b54d53b0106a001941460a22 /net
parent[PKT_SCHED]: Potential jiffy wrap bug in dev_watchdog(). (diff)
downloadlinux-53d42f541278b6c97724465b19bae4730d7a85c8.tar.xz
linux-53d42f541278b6c97724465b19bae4730d7a85c8.zip
[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 <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipx/ipx_route.c2
1 files changed, 1 insertions, 1 deletions
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;