summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-05-16 15:07:28 -0700
committerDavid S. Miller <davem@davemloft.net>2006-05-16 15:07:28 -0700
commit53d42f541278b6c97724465b19bae4730d7a85c8 (patch)
treecf974cb6debb01c7b54d53b0106a001941460a22
parent338f7566e5c26a9547e25d54863ae4e4e5c856d1 (diff)
downloadop-kernel-dev-53d42f541278b6c97724465b19bae4730d7a85c8.zip
op-kernel-dev-53d42f541278b6c97724465b19bae4730d7a85c8.tar.gz
[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>
-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 6777444..a394c6f 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;
OpenPOWER on IntegriCloud