|
@@ -75,7 +75,7 @@ static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target,
|
|
|
if (!hdr)
|
|
|
return -EMSGSIZE;
|
|
|
|
|
|
- genl_dump_check_consistent(cb, hdr, &nfc_genl_family);
|
|
|
+ genl_dump_check_consistent(cb, hdr);
|
|
|
|
|
|
if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) ||
|
|
|
nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) ||
|
|
@@ -603,7 +603,7 @@ static int nfc_genl_send_device(struct sk_buff *msg, struct nfc_dev *dev,
|
|
|
return -EMSGSIZE;
|
|
|
|
|
|
if (cb)
|
|
|
- genl_dump_check_consistent(cb, hdr, &nfc_genl_family);
|
|
|
+ genl_dump_check_consistent(cb, hdr);
|
|
|
|
|
|
if (nfc_genl_setup_device_added(dev, msg))
|
|
|
goto nla_put_failure;
|
|
@@ -1356,7 +1356,7 @@ static int nfc_genl_send_se(struct sk_buff *msg, struct nfc_dev *dev,
|
|
|
goto nla_put_failure;
|
|
|
|
|
|
if (cb)
|
|
|
- genl_dump_check_consistent(cb, hdr, &nfc_genl_family);
|
|
|
+ genl_dump_check_consistent(cb, hdr);
|
|
|
|
|
|
if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) ||
|
|
|
nla_put_u32(msg, NFC_ATTR_SE_INDEX, se->idx) ||
|