aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHuang Rui <[email protected]>2021-09-07 18:03:02 +0800
committerLinus Torvalds <[email protected]>2021-09-14 13:36:02 -0700
commit3ca706c189db861b2ca2019a0901b94050ca49d8 (patch)
tree77045c2837fb5d0db7d90d5ff32d439ad6d680f9 /tools/perf/scripts/python/export-to-sqlite.py
parent77e02cf57b6cff9919949defb7fd9b8ac16399a2 (diff)
drm/ttm: fix type mismatch error on sparc64
On sparc64, __fls() returns an "int", but the drm TTM code expected it to be "unsigned long" as on x86. As a result, on sparc (and arc, and m68k) you get build errors because 'min()' checks that the types match. As suggested by Linus, it can use min_t instead of min to force the type to be "unsigned int". Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions