diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2025-01-11 12:55:14 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-03-06 19:28:30 +0300 |
commit | 466b7053cb88586a84228bb0800921279d8748cb (patch) | |
tree | 51b4c61d126b1d2f56ae31569353fafce9dd947c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f883f34b6a46b1a09d44d7f94c3cd72fe0e8f93b (diff) | |
download | linux-466b7053cb88586a84228bb0800921279d8748cb.tar.xz |
media: dvb-frontends: tda10048: Make the range of z explicit.
The datasheet recommends 55MHz frequency sampling, with a max of 69 MHz.
(Kudos to Kosta Stefanov for the calculations).
Replace z with a 32 bit uint, and make the range of the variable
explicit.
Found by cocci:
drivers/media/dvb-frontends/tda10048.c:345:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead.
Reviewed-by: Kosta Stefanov <costa.stephanoff@gmail.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions