Searched refs:if_version_length (Results 1 – 2 of 2) sorted by relevance
98 size_t if_version_length; in mei_nfc_if_version() local116 if_version_length = sizeof(struct mei_nfc_reply) + in mei_nfc_if_version()119 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()123 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version()124 if (bytes_recv < 0 || bytes_recv < if_version_length) { in mei_nfc_if_version()
326 size_t if_version_length; in mei_nfc_if_version() local340 if_version_length = sizeof(*reply) + sizeof(*ver); in mei_nfc_if_version()342 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version()347 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length, 0, 0); in mei_nfc_if_version()348 if (bytes_recv < 0 || (size_t)bytes_recv < if_version_length) { in mei_nfc_if_version()