linux/drivers/media
Arnd Bergmann aff093d4bb [media] exynos-gsc: avoid build warning without CONFIG_OF
When building the exynos-gsc driver with CONFIG_OF disabled, we get
a warning about an out-of-bounds access:

drivers/media/platform/exynos-gsc/gsc-core.c: In function 'gsc_probe':
drivers/media/platform/exynos-gsc/gsc-core.c:1078:34: error: array subscript is above array bounds [-Werror=array-bounds]

This is harmless because the driver will never be used without CONFIG_OF,
but it's better to avoid the warning anyway. Checking the return value
of of_alias_get_id() for an error condition is probably a good idea
anyway, and it makes sure the compiler can verify that we don't get
into that situation.

Fixes: 26a7ed9c18 ("[media] exynos-gsc: remove an always false condition")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-05-09 18:38:33 -03:00
..
common [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
dvb-core [media] media/dvb-core: forward media_create_pad_links() return value 2016-05-07 10:56:55 -03:00
dvb-frontends [media] ds3000: return meaningful return codes 2016-05-07 10:27:19 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] tvp5150: propagate I2C write error in .s_register callback 2016-05-09 14:44:38 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] smipcie: add RC map into card configuration options 2016-05-07 10:27:18 -03:00
platform [media] exynos-gsc: avoid build warning without CONFIG_OF 2016-05-09 18:38:33 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] drivers/media/rc: postpone kfree(rc_dev) 2016-05-07 11:21:04 -03:00
tuners [media] em28xx: add support for PLEX PX-BCUD (ISDB-S) 2016-05-06 23:51:47 -03:00
usb [media] dib0700: add USB ID for another STK8096-PVR ref design based card 2016-05-09 14:57:31 -03:00
v4l2-core [media] v4l2-ioctl.c: improve cropcap compatibility code 2016-05-06 15:43:45 -03:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c Linux 4.6-rc7 2016-05-09 12:21:49 -03:00
media-devnode.c [media] drivers/media/media-devnode: clear private_data before put_device() 2016-05-07 11:43:53 -03:00
media-entity.c [media] media: change pipeline validation return error 2016-04-29 08:07:17 -03:00