diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-01-20 10:03:21 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 08:37:18 +0100 |
| commit | 83104f045dae226ef56b1462c03b21f46d4d868f (patch) | |
| tree | 30c50029f38829aef16cc80539f7c168ffc52531 /tools | |
| parent | add434e551f07554f093193d16a850bdf45ec236 (diff) | |
| download | cachepc-linux-83104f045dae226ef56b1462c03b21f46d4d868f.tar.gz cachepc-linux-83104f045dae226ef56b1462c03b21f46d4d868f.zip | |
media: dvb-frontends/rtl2832.c: fix missing error code
Fixes this smatch warning:
drivers/media/dvb-frontends/rtl2832.c:702 rtl2832_read_status() warn: missing error code 'ret'
'ret' is indeed not set, so set it to -EINVAL so a proper error
code is returned.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
