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:
a7459a9
)
[media] soc_camera: use kmemdup()
author
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 3 Sep 2014 17:55:19 +0000
(14:55 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 3 Sep 2014 20:58:30 +0000
(17:58 -0300)
Instead of calling kzalloc and then copying, use kmemdup(). That
avoids zeroing the data structure before copying.
Found by coccinelle.
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
No differences found