diff options
| author | Hans-Frieder Vogt <[email protected]> | 2012-10-03 05:25:40 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-10-05 14:25:11 -0300 |
| commit | 182b967e1119d22889e334c8f1c1b75df41f9165 (patch) | |
| tree | 5ebbea774a5ff5f13ddaa534c06a128baf189932 /tools/perf/scripts/python/bin | |
| parent | 8b6faacd759933841c531c662c7eaa3046676fcc (diff) | |
[media] af9033: prevent unintended underflow
As spotted by Dan Carpenter <[email protected]> (thanks!), we have
improperly used an unsigned variable in a calculation that may result in a
negative number. This may cause an unintended underflow if the interface
frequency of the tuner is > approx. 40MHz.
This patch should resolve the issue, following an approach similar to what is
used in af9013.c.
[[email protected]: add Reported-by]
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Hans-Frieder Vogt <[email protected]>
Reviewed-by: Antti Palosaari <[email protected]>
Signed-off-by: Antti Palosaari <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions