aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2015-10-27 16:59:16 +0000
committerGreg Kroah-Hartman <[email protected]>2015-10-29 08:58:36 +0900
commit21ec1bf73483f1cceb252ecf9323160fc9473f7b (patch)
tree1aaf0494363314c483957b67872c92709f8ee6af /tools/perf/scripts/python
parent8fa8a260d22b5a6da088afb12e3321a35f397104 (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 <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions