summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-15 13:14:11 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-18 11:43:03 +0300
commit576a307a7650bd544fbb24df801b9b7863b85e2f (patch)
tree378ce31735d3d4d71e75bf2c8cc50b2bbe5f9d47 /tools/perf/scripts/python/compaction-times.py
parent438d3085ba5b8b5bfa5290faa594e577f6ac9aa7 (diff)
downloadlinux-576a307a7650bd544fbb24df801b9b7863b85e2f.tar.xz
media: cx24116: prevent overflows on SNR calculus
as reported by Coverity, if reading SNR registers fail, a negative number will be returned, causing an underflow when reading SNR registers. Prevent that. Fixes: 8953db793d5b ("V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.") 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