aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/nfc/netlink.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-04-13 00:52:36 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-13 16:35:16 -0400
commit65bc4f936e6f1c7de59938e832701faa903d2d45 (patch)
tree55ec0613c928dab46db0c5c9e1c4a90cfa8e1d3c /net/nfc/netlink.c
parentnetlink: Fix portid type in netlink_notify (diff)
downloadwireguard-linux-65bc4f936e6f1c7de59938e832701faa903d2d45.tar.xz
wireguard-linux-65bc4f936e6f1c7de59938e832701faa903d2d45.zip
nfc: Fix portid type in urelease_work
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>
Diffstat (limited to 'net/nfc/netlink.c')
-rw-r--r--net/nfc/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c
index 14a2d11581da..3763036710ae 100644
--- a/net/nfc/netlink.c
+++ b/net/nfc/netlink.c
@@ -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)