projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2a953
)
NFC: pn533: Fix incorrect kfree of complete args
author
Waldemar Rymarkiewicz
<waldemar.rymarkiewicz@tieto.com>
Wed, 3 Apr 2013 06:02:07 +0000
(08:02 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 11 Apr 2013 14:29:04 +0000
(16:29 +0200)
We must free 'cmd_complete_mi_arg' and not 'cmd_complete_arg'
when getting send error handling fragmented response.
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/pn533.c
b/drivers/nfc/pn533.c
index
80a6e7c
..
ef8e447
100644
(file)
--- a/
drivers/nfc/pn533.c
+++ b/
drivers/nfc/pn533.c
@@
-2253,7
+2253,7
@@
static void pn533_wq_mi_recv(struct work_struct *work)
"Error %d when trying to perform data_exchange", rc);
dev_kfree_skb(skb);
- kfree(dev->cmd_complete_arg);
+ kfree(dev->cmd_complete_
mi_
arg);
error:
pn533_send_ack(dev, GFP_KERNEL);