aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-07-04 09:22:55 -0500
committerEric Anholt <[email protected]>2018-07-17 11:25:18 -0700
commit108019a7e6a34df91246365066bea7cf6faf6b02 (patch)
tree959d23a0cf451dcc61a5d0a1381911c68adb8902 /tools/perf/util/trace-event-scripting.c
parentf9760772d26560ec137fb1c768487c601b93dbc3 (diff)
drm/pl111: Use 64-bit arithmetic instead of 32-bit
Add suffix ULL to constant 1000 in order to give the compiler complete information about the proper arithmetic to use. Notice that such constant is used in a context that expects an expression of type u64 (64 bits, unsigned) and the following expression is currently being evaluated using 32-bit arithmetic: mode->clock * 1000 Addresses-Coverity-ID: 1466139 ("Unintentional integer overflow") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions