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:
6f6ed3d
)
staging: csr: replace calls to kmalloc and memset with kzalloc
author
Devendra Naga
<devendra.aaru@gmail.com>
Tue, 4 Sep 2012 19:26:44 +0000
(
00:56
+0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:35:05 +0000
(14:35 -0700)
the kzalloc does allocates memory and sets the data at the memory
which is allocated to 0,
The driver does uses the kmalloc and memset at some points in the code
replace them with a single call to kzalloc
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found