summary refs log tree commit diff
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-15 22:21:42 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-04-18 11:52:45 +0200
commit418d59ef229290a1da80aa25222f9da2ac2fa6a5 (patch)
tree6b3aff7ee3c42221aedab514006a82482541a575 /lib/locking-selftest-rlock.h
parent2f410f88c0a1c7e19762918d2614f506a7b63a82 (diff)
downloadlinux-418d59ef229290a1da80aa25222f9da2ac2fa6a5.tar.gz
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 <dan.carpenter@oracle.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170415192142.GA6416@mwanda
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions