summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-01-11 12:55:14 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-03-06 19:28:30 +0300
commit466b7053cb88586a84228bb0800921279d8748cb (patch)
tree51b4c61d126b1d2f56ae31569353fafce9dd947c /tools/perf/scripts/python/export-to-sqlite.py
parentf883f34b6a46b1a09d44d7f94c3cd72fe0e8f93b (diff)
downloadlinux-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