summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSui Jingfeng <sui.jingfeng@linux.dev>2024-09-08 15:11:04 +0300
committerLucas Stach <l.stach@pengutronix.de>2024-10-28 18:30:15 +0300
commitc82e8b292c2a2a4e780677af895c6233ef5538b2 (patch)
treee261353c238243f0222951dbd4785cac8fc8c060 /tools/perf/scripts/python/export-to-sqlite.py
parent56257d4c422d0f45b1367145ffe1a1350d4338b6 (diff)
downloadlinux-c82e8b292c2a2a4e780677af895c6233ef5538b2.tar.xz
drm/etnaviv: Use 'unsigned' type to count the number of pages
The unpin_user_pages() function takes an 'unsigned long' argument to store the number of userspace pages, and the struct drm_gem_object::size is a size_t type. The number of pages can not be negative, hence, use 'unsigned' variable to count the number of pages. Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions