summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 14:55:19 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 17:58:30 -0300
commit93623c87a38533be4d8a636f29e58dbd01d3841b (patch)
tree3ca499f475a3db89514935294515d03dd9b128d3 /kernel/sysctl_binary.c
parenta7459a9d3ab932209e3340d5ae4dadf73147e8d5 (diff)
[media] soc_camera: use kmemdup()
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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions