diff options
| author | Himal Prasad Ghimiray <[email protected]> | 2024-03-20 14:03:25 +0530 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2024-03-21 06:00:54 -0700 |
| commit | f20b7671dffd8515b6a2a996c6796bd990e9cf8d (patch) | |
| tree | 559e709b807a045973351312fe41ea1538df6ae6 /tools/perf/scripts/python | |
| parent | ee3b1e31d55cefe8d7995c6bbdfc028a068576d8 (diff) | |
drm/xe: Use USEC_PER_MSEC rather than the hard coding
Use USEC_PER_MSEC rather than the hard coded value of 1000.
Static analyzer Reported "casting either timeout_ms or
1000U to type u64" to avoid overflow-before-widen.
Using USEC_PER_MSEC seems better and will help with static analyzer
report cleanup.
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Himal Prasad Ghimiray <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions