diff mbox

[1/5,v2] netlink: Fix portid type in netlink_notify

Message ID 1428616637-21690-1-git-send-email-richard@nod.at
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Richard Weinberger April 9, 2015, 9:57 p.m. UTC
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>
---
 include/linux/netlink.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 02fc86d..6835c12 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -134,7 +134,7 @@  struct netlink_callback {
 
 struct netlink_notify {
 	struct net *net;
-	int portid;
+	u32 portid;
 	int protocol;
 };