Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53d42f54 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

[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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 338f7566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ static int ipxrtr_create(struct ipx_route_definition *rd)
	return rc;
}

static int ipxrtr_delete(long net)
static int ipxrtr_delete(__u32 net)
{
	struct ipx_route *r, *tmp;
	int rc;