diff options
author | Mauro Carvalho Chehab <[email protected]> | 2024-10-15 11:38:10 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-10-18 10:43:03 +0200 |
commit | 438d3085ba5b8b5bfa5290faa594e577f6ac9aa7 (patch) | |
tree | 55febc48dcfdf6e210e57b18caaa862f50b0a8a1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 14a22762c3daeac59a5a534e124acbb4d7a79b3a (diff) |
media: ar0521: don't overflow when checking PLL values
The PLL checks are comparing 64 bit integers with 32 bit
ones, as reported by Coverity. Depending on the values of
the variables, this may underflow.
Fix it ensuring that both sides of the expression are u64.
Fixes: 852b50aeed15 ("media: On Semi AR0521 sensor driver")
Cc: [email protected]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions