git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c12c7b
)
rtlwifi: rtl8192cu: Fix memset/memcpy using sizeof(ptr) not sizeof(*ptr)
author
Joe Perches
<joe@perches.com>
Mon, 9 May 2011 19:51:57 +0000
(12:51 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 10 May 2011 19:54:51 +0000
(15:54 -0400)
Found via coccinelle script
@@
type T;
T* ptr;
expression E1;
@@
* memset(E1, 0, sizeof(ptr));
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
No differences found