linux/drivers/media/platform/omap3isp
Arnd Bergmann 5160fb4bbd media: omap3isp: fix uninitialized variable use
A debug printk statement was copied incorrectly into the new
csi1 parser code and causes a warning there:

drivers/media/platform/omap3isp/isp.c: In function 'isp_probe':
include/linux/dynamic_debug.h:134:3: error: 'i' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Since there is only one lane, the index is never set. This
changes the debug print to always print a zero instead,
keeping the original format of the message.

Fixes: 9211434bad ("media: omap3isp: Parse CSI1 configuration from the device tree")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-26 20:14:42 -04:00
..
Makefile [media] omap3isp: Move to videobuf2 2014-05-25 11:38:53 -03:00
cfa_coef_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
gamma_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isp.c media: omap3isp: fix uninitialized variable use 2017-08-26 20:14:42 -04:00
isp.h media: omap3isp: Quit using struct v4l2_subdev.host_priv field 2017-08-20 08:18:38 -04:00
ispccdc.c media: omap3isp: Quit using struct v4l2_subdev.host_priv field 2017-08-20 08:18:38 -04:00
ispccdc.h [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispccp2.c media: omap3isp: Quit using struct v4l2_subdev.host_priv field 2017-08-20 08:18:38 -04:00
ispccp2.h [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispcsi2.c media: omap3isp: Quit using struct v4l2_subdev.host_priv field 2017-08-20 08:18:38 -04:00
ispcsi2.h [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispcsiphy.c media: omap3isp: Quit using struct v4l2_subdev.host_priv field 2017-08-20 08:18:38 -04:00
ispcsiphy.h media: omap3isp: csiphy: Don't assume the CSI receiver is a CSI2 module 2017-08-20 08:17:38 -04:00
isph3a.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isph3a_aewb.c [media] omap3isp: don't break long lines 2016-10-21 09:34:16 -02:00
isph3a_af.c [media] omap3isp: don't break long lines 2016-10-21 09:34:16 -02:00
isphist.c [media] v4l: omap3isp: Use dma_request_chan_by_mask() to request the DMA channel 2016-11-16 16:14:20 -02:00
isphist.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isppreview.c [media] v4l: omap3isp: preview: Mark output buffer done first 2016-01-25 08:29:06 -02:00
isppreview.h [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispreg.h media: omap3isp: Correctly set IO_OUT_SEL and VP_CLK_POL for CCP2 mode 2017-08-20 08:16:13 -04:00
ispresizer.c [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispresizer.h [media] omap3isp: remove per ISP module link creation functions 2016-01-11 12:19:07 -02:00
ispstat.c [media] omap3isp: don't break long lines 2016-10-21 09:34:16 -02:00
ispstat.h [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
ispvideo.c [media] v4l: omap3isp: Clean up file handle in open() and release() 2017-01-31 10:57:58 -02:00
ispvideo.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:40:50 -03:00
luma_enhance_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
noise_filter_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
omap3isp.h media: omap3isp: Parse CSI1 configuration from the device tree 2017-08-20 08:15:50 -04:00