diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-15 14:29:43 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-18 11:43:03 +0300 |
commit | 2d861977e7314f00bf27d0db17c11ff5e85e609a (patch) | |
tree | 384677bef687f88956212a1e812ca26f50b5e9cd /tools/perf/scripts/python/compaction-times.py | |
parent | 50b9fa751d1aef5d262bde871c70a7f44262f0bc (diff) | |
download | linux-2d861977e7314f00bf27d0db17c11ff5e85e609a.tar.xz |
media: stb0899_algo: initialize cfr before using it
The loop at stb0899_search_carrier() starts with a random
value for cfr, as reported by Coverity.
Initialize it to zero, just like stb0899_dvbs_algo() to ensure
that carrier search won't bail out.
Fixes: 8bd135bab91f ("V4L/DVB (9375): Add STB0899 support")
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions