提交 fe0219cc 编写于 作者: S Salil Kapur 提交者: Samuel Ortiz

NFC: mei_phy: Using kfree_skb() instead of kfree()

Using kfree_skb() instead of kfree() for struct sk_buff
Signed-off-by: NSalil Kapur <salilkapur93@gmail.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 c8bf40ad
......@@ -127,7 +127,7 @@ void nfc_mei_event_cb(struct mei_cl_device *device, u32 events, void *context)
reply_size = mei_cl_recv(device, skb->data, MEI_NFC_MAX_READ);
if (reply_size < MEI_NFC_HEADER_SIZE) {
kfree(skb);
kfree_skb(skb);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册