netlink: Fix portid type in netlink_notify
authorRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 22:52:35 +0000 (00:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2015 20:35:16 +0000 (16:35 -0400)
portid is an unsigned integer. Fix netlink_notify to
match all other portid user in the kernel.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h

index 02fc86d2348e2157d19cd4c16c4574ef86ac4d07..6835c1279df77328894ef9bc1396d786e7f29dec 100644 (file)
@@ -134,7 +134,7 @@ struct netlink_callback {
 
 struct netlink_notify {
        struct net *net;
-       int portid;
+       u32 portid;
        int protocol;
 };