diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2024-10-15 10:14:11 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2024-10-18 08:43:03 +0000 |
| commit | 576a307a7650bd544fbb24df801b9b7863b85e2f (patch) | |
| tree | 378ce31735d3d4d71e75bf2c8cc50b2bbe5f9d47 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | media: ar0521: don't overflow when checking PLL values (diff) | |
| download | kernel-576a307a7650bd544fbb24df801b9b7863b85e2f.tar.gz kernel-576a307a7650bd544fbb24df801b9b7863b85e2f.zip | |
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: [email protected]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
