summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-05-06 00:50:19 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-08-26 15:22:59 +0300
commit61a9fa154d217c13eea90aa5bc635bc4b1fcb66e (patch)
tree3e9e2bc0ec51688a336bc550496fa539291ed18f /drivers/media
parent378e0f9f0b3e03a84db5ed5d3da3850871e9209e (diff)
downloadlinux-61a9fa154d217c13eea90aa5bc635bc4b1fcb66e.tar.xz
drm/tve200: Fix smatch warning
The "ret" variable is ambiguously returning something that could be zero in the tve200_modeset_init() function, assign it an explicit error return code to make this unambiguous. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220505215019.2332613-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions