linux-stable-rt/drivers/media/video
Julia Lawall 7a12f4b50d V4L/DVB: drivers/media/video/zoran: Use kmemdup
Use kmemdup when some other buffer is immediately copied into the
allocated region.

A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression from,to,size,flag;
statement S;
@@

-  to = \(kmalloc\|kzalloc\)(size,flag);
+  to = kmemdup(from,size,flag);
   if (to==NULL || ...) S
-  memcpy(to, from, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-08-02 15:04:04 -03:00
..
au0828 V4L/DVB: Add closed captioning support for the HVR-950q 2010-08-02 14:48:53 -03:00
bt8xx
cpia2
cx18 V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address 2010-06-01 01:24:29 -03:00
cx88 V4L/DVB: ir-core: partially convert cx88 to not use ir-functions.c 2010-08-02 14:53:45 -03:00
cx231xx V4L/DVB: cx231xx: convert to s_mbus_fmt 2010-06-01 01:21:30 -03:00
cx23885 V4L/DVB: Fix kernel Oops when number of NetUP Dual DVB-S2-CI cards more than DVB_MAX_ADAPTERS limit 2010-08-02 14:52:54 -03:00
cx25840 V4L/DVB: cx24850: remove obsolete g/s_fmt ops 2010-06-01 01:21:31 -03:00
davinci
em28xx V4L/DVB: em28xx-input: Don't generate one debug message for every get_key read 2010-08-02 14:53:30 -03:00
et61x251
gspca V4L/DVB: drivers/media/video/gspca: Use kmemdup 2010-08-02 15:01:43 -03:00
hdpvr V4L/DVB: drivers/media: Eliminate a NULL pointer dereference 2010-06-01 01:24:22 -03:00
ivtv V4L/DVB: ivtv: Increment driver version due to firmware loading changes 2010-08-02 14:48:30 -03:00
omap V4L/DVB: OMAP_VOUT: fix: Module params were not working through bootargs 2010-07-08 16:49:48 -03:00
ovcamchip
pvrusb2 V4L/DVB: drivers/media/video/pvrusb2: Add missing mutex_unlock 2010-08-02 15:01:02 -03:00
pwc
saa7134 V4L/DVB: video/saa7134: change dprintk() to i2cdprintk() 2010-06-01 01:24:17 -03:00
saa7164
sn9c102 V4L/DVB: gspca - sonixb: Have 0c45:602e handled by sonixb instead of sn9c102 2010-06-01 01:20:00 -03:00
tlg2300 V4L/DVB: drivers/media/video/tlg2300: Use kmemdup 2010-08-02 15:03:36 -03:00
usbvideo
usbvision V4L/DVB: drivers/media: Eliminate a NULL pointer dereference 2010-06-01 01:24:22 -03:00
uvc V4L/DVB: drivers/media/video/uvc: Use kmemdup 2010-08-02 15:01:58 -03:00
zc0301
zoran V4L/DVB: drivers/media/video/zoran: Use kmemdup 2010-08-02 15:04:04 -03:00
Kconfig V4L/DVB: vivi: fix depends again 2010-08-02 15:00:58 -03:00
Makefile
adv7170.c
adv7175.c
adv7180.c
adv7343.c
adv7343_regs.h
ak881x.c V4L/DVB: ak881x needs slab.h 2010-06-01 01:23:21 -03:00
arv.c
bt819.c
bt856.c
bt866.c
btcx-risc.c
btcx-risc.h
bw-qcam.c V4L/DVB: bw-qcam: convert to V4L2 2010-06-01 01:19:04 -03:00
c-qcam.c V4L/DVB: c-qcam: convert to V4L2 2010-06-01 01:19:41 -03:00
cafe_ccic-regs.h
cafe_ccic.c
cpia.c
cpia.h
cpia_pp.c
cpia_usb.c
cs53l32a.c
cs5345.c
cs8420.h
cx2341x.c V4L/DVB: cx2341x: Report correct temporal setting for log-status 2010-06-01 01:24:31 -03:00
dabusb.c
dabusb.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c V4L/DVB: ir-core: partially convert ir-kbd-i2c.c to not use ir-functions.c 2010-08-02 14:53:59 -03:00
ks0127.c
ks0127.h
m52790.c
mem2mem_testdev.c V4L/DVB: v4l: mem2mem_testdev: fix g_fmt NULL pointer dereference 2010-07-08 16:50:24 -03:00
meye.c
meye.h
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
mt9m001.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
mt9m111.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
mt9t031.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
mt9t112.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
mt9v011.c V4L/DVB: mt9v011: add enum/try/s_mbus_fmt support 2010-06-01 01:21:35 -03:00
mt9v011.h
mt9v022.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
mx1_camera.c
mx3_camera.c V4L/DVB: v4l2-subdev.h: fix enum_mbus_fmt prototype 2010-06-01 01:21:40 -03:00
mxb.c
mxb.h
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
ov511.c
ov511.h
ov772x.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
ov7670.c
ov9640.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
ov9640.h
pms.c
pxa_camera.c V4L/DVB: v4l2-subdev.h: fix enum_mbus_fmt prototype 2010-06-01 01:21:40 -03:00
rj54n1cb0c.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
s2255drv.c
saa711x_regs.h
saa717x.c V4L/DVB: saa717x: remove obsolete s_fmt op 2010-06-01 01:21:22 -03:00
saa5246a.c
saa5249.c
saa6588.c
saa7110.c
saa7115.c V4L/DVB: saa7115: remove obsolete g/s_fmt ops 2010-06-01 01:21:32 -03:00
saa7121.h
saa7127.c V4L/DVB: saa7127: remove obsolete g_fmt support 2010-06-01 01:21:21 -03:00
saa7146.h
saa7146reg.h
saa7185.c
saa7191.c
saa7191.h
se401.c
se401.h
sh_mobile_ceu_camera.c V4L/DVB: sh_mobile_ceu_camera: fix debugging message 2010-08-02 14:05:38 -03:00
sh_vou.c V4L/DVB: V4L2: fix sh_vou.c compile breakage: #include <slab.h> 2010-08-02 14:05:39 -03:00
soc_camera.c V4L/DVB: v4l2-subdev.h: fix enum_mbus_fmt prototype 2010-06-01 01:21:40 -03:00
soc_camera_platform.c V4L/DVB: soc_camera_platform: Add necessary v4l2_subdev_video_ops method 2010-08-02 14:05:37 -03:00
soc_mediabus.c
stk-sensor.c
stk-webcam.c
stk-webcam.h
stradis.c
stv680.c
stv680.h
tcm825x.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
tcm825x.h
tda7432.c
tda9840.c
tda9875.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c
tlv320aic23b.c
tuner-core.c
tvaudio.c
tveeprom.c V4L/DVB: tveeprom: Add an entry for tuner code 168: a TCL M30WTP-4N-E tuner 2010-07-08 16:49:59 -03:00
tvp514x.c V4L/DVB: tvp514x: simplify try/g/s_fmt handling 2010-06-01 01:21:48 -03:00
tvp514x_regs.h
tvp5150.c V4L/DVB: tvp5150: remove obsolete g/s_fmt ops 2010-06-01 01:21:36 -03:00
tvp5150_reg.h
tvp7002.c
tvp7002_reg.h
tw9910.c Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-06-04 15:38:12 -07:00
upd64031a.c
upd64083.c
v4l1-compat.c
v4l2-common.c
v4l2-compat-ioctl32.c
v4l2-dev.c
v4l2-device.c
v4l2-event.c
v4l2-fh.c
v4l2-int-device.c
v4l2-ioctl.c
v4l2-mem2mem.c
videobuf-core.c
videobuf-dma-contig.c
videobuf-dma-sg.c
videobuf-dvb.c
videobuf-vmalloc.c
vino.c
vino.h
vivi.c
vp27smpx.c
vpx3220.c
w9966.c
w9968cf.c V4L/DVB: smscoreapi/w9968cf: drivers/media: Remove unnecesary kmalloc casts 2010-08-02 15:00:41 -03:00
w9968cf.h
w9968cf_decoder.h
w9968cf_vpp.h
wm8739.c
wm8775.c
zr364xx.c