diff options
| author | Dan Carpenter <[email protected]> | 2017-04-15 19:21:42 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2017-04-18 09:52:45 +0000 |
| commit | 418d59ef229290a1da80aa25222f9da2ac2fa6a5 (patch) | |
| tree | 6b3aff7ee3c42221aedab514006a82482541a575 /drivers/gpu/drm/tegra/gem.c | |
| parent | drm/sti: fix GDP size to support up to UHD resolution (diff) | |
| download | kernel-418d59ef229290a1da80aa25222f9da2ac2fa6a5.tar.gz kernel-418d59ef229290a1da80aa25222f9da2ac2fa6a5.zip | |
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: ebc944613567 ("drm: convert drivers to use drm_of_find_panel_or_bridge")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/20170415192142.GA6416@mwanda
Diffstat (limited to 'drivers/gpu/drm/tegra/gem.c')
0 files changed, 0 insertions, 0 deletions
