diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-10-27 16:59:16 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-29 08:58:36 +0900 |
commit | 21ec1bf73483f1cceb252ecf9323160fc9473f7b (patch) | |
tree | 1aaf0494363314c483957b67872c92709f8ee6af /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8fa8a260d22b5a6da088afb12e3321a35f397104 (diff) |
staging: comedi: comedi_test: use unsigned int for waveform timing
Use `unsigned int` instead of `unsigned long` to hold the period of the
fake waveform generator and the current time within each waveform. The
waveform period will be no more than `INT_MAX` and the current time
within the waveform (prior to the modulo operation to bring it actually
within the waveform period) will be no more than `INT_MAX + UINT_MAX /
1000`.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions