提交 53d42f54 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

[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: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 338f7566
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册