* [PATCH] NFC: mei_phy: using kfree_skb() instead of kfree()
@ 2013-10-31 17:47 Salil Kapur
2013-11-01 9:31 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Salil Kapur @ 2013-10-31 17:47 UTC (permalink / raw)
To: lauro.venancio
Cc: aloisio.almeida, sameo, linux-wireless, linux-nfc, linux-kernel,
Salil Kapur
using kfree_skb() instead of kfree() for struct sk_buff
Signed-off-by: Salil Kapur <salilkapur93@gmail.com>
---
drivers/nfc/mei_phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nfc/mei_phy.c b/drivers/nfc/mei_phy.c
index 606bf55..bc30081 100644
--- a/drivers/nfc/mei_phy.c
+++ b/drivers/nfc/mei_phy.c
@@ -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;
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NFC: mei_phy: using kfree_skb() instead of kfree()
2013-10-31 17:47 [PATCH] NFC: mei_phy: using kfree_skb() instead of kfree() Salil Kapur
@ 2013-11-01 9:31 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2013-11-01 9:31 UTC (permalink / raw)
To: Salil Kapur
Cc: lauro.venancio, aloisio.almeida, linux-wireless, linux-nfc, linux-kernel
Hi Salil,
On Thu, Oct 31, 2013 at 11:17:46PM +0530, Salil Kapur wrote:
> using kfree_skb() instead of kfree() for struct sk_buff
>
> Signed-off-by: Salil Kapur <salilkapur93@gmail.com>
> ---
> drivers/nfc/mei_phy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to nfc-next, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-01 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31 17:47 [PATCH] NFC: mei_phy: using kfree_skb() instead of kfree() Salil Kapur
2013-11-01 9:31 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).