nfc: Fix portid type in urelease_work
authorRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 22:52:36 +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 urelease_work 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>
net/nfc/netlink.c

index 14a2d11581da7ededf0eff4ca09293a277853b2d..3763036710aedfc38768793c44388b70375ae71b 100644 (file)
@@ -1584,7 +1584,7 @@ static const struct genl_ops nfc_genl_ops[] = {
 
 struct urelease_work {
        struct  work_struct w;
-       int     portid;
+       u32     portid;
 };
 
 static void nfc_urelease_event_work(struct work_struct *work)