linux/drivers/gpu/drm/atmel-hlcdc
Dan Carpenter 418d59ef22 drm: atmel-hlcdc: Uninitialized return in atmel_hlcdc_create_outputs()
It's not possible for endpoint to be zero so the test doesn't work.  If
we break on the first iteration through the loop then endpoint is 1 and
"ret" is uninitialized.

Fixes: ebc9446135 ("drm: convert drivers to use drm_of_find_panel_or_bridge")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170415192142.GA6416@mwanda
2017-04-18 11:52:45 +02:00
..
atmel_hlcdc_crtc.c drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_dc.c drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_dc.h drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_output.c drm: atmel-hlcdc: Uninitialized return in atmel_hlcdc_create_outputs() 2017-04-18 11:52:45 +02:00
atmel_hlcdc_plane.c drm/atmel-hlcdc: Simplify the HLCDC layer logic 2017-02-28 11:57:56 +01:00
Kconfig drm/atmel-hlcdc: make fbdev support really optional 2016-07-15 10:28:33 -04:00
Makefile drm/atmel-hlcdc: Simplify the HLCDC layer logic 2017-02-28 11:57:56 +01:00