projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8bf40a
)
NFC: mei_phy: Using kfree_skb() instead of kfree()
author
Salil Kapur
<salilkapur93@gmail.com>
Thu, 31 Oct 2013 17:47:46 +0000
(23:17 +0530)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 4 Jan 2014 02:32:26 +0000
(
03:32
+0100)
Using kfree_skb() instead of kfree() for struct sk_buff
Signed-off-by: Salil Kapur <salilkapur93@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/mei_phy.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/mei_phy.c
b/drivers/nfc/mei_phy.c
index
1d78605
..
11c7cbd
100644
(file)
--- 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;
}