OpenCloudOS-Kernel/drivers/media
Colin Ian King 211eba9e79 [media] VPU: mediatek: fix null pointer dereference on pdev
pdev is being null checked, however, prior to that it is being
dereferenced by platform_get_drvdata.  Move the assignments of
vpu and run to after the pdev null check to avoid a potential
null pointer dereference.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-21 12:09:34 -02:00
..
common [media] tveeprom: use dev_foo() for printk messages 2016-10-21 10:09:05 -02:00
dvb-core [media] dvb-core: move dvb_filter out of the DVB core 2016-10-21 08:44:08 -02:00
dvb-frontends [media] dvb-frontends: don't break long lines 2016-10-21 10:01:56 -02:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] soc_camera: don't break long lines 2016-10-21 08:51:50 -02:00
mmc
pci [media] tw68: don't break long lines 2016-10-21 09:29:44 -02:00
platform [media] VPU: mediatek: fix null pointer dereference on pdev 2016-10-21 12:09:34 -02:00
radio [media] radio: don't break long lines 2016-10-21 10:06:56 -02:00
rc [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
spi [media] gs1662: make checkpatch happy 2016-09-19 14:39:49 -03:00
tuners [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
usb [media] zr364xx: don't break long lines 2016-10-21 09:55:35 -02:00
v4l2-core [media] v4l2-ioctl: add VP9 format description 2016-10-21 12:09:30 -02:00
Kconfig [media] media Kconfig: improve the spi integration 2016-09-19 14:37:05 -03:00
Makefile [media] Add GS1662 driver, a video serializer 2016-09-19 14:36:24 -03:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
media-device.c [media] media: Add flags to tell whether to take graph mutex for an IOCTL 2016-09-22 10:28:40 -03:00
media-devnode.c [media] media: fix media devnode ioctl/syscall and unregister race 2016-06-15 17:59:28 -03:00
media-entity.c [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00