diff options
author | Sui Jingfeng <sui.jingfeng@linux.dev> | 2024-09-08 15:11:03 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2024-10-28 18:30:15 +0300 |
commit | 56257d4c422d0f45b1367145ffe1a1350d4338b6 (patch) | |
tree | 8017850ba94abef132979cee39b11562967fc404 /tools/perf/scripts/python/gecko.py | |
parent | 13c96ac9a3f0f1c7ba1ff0656ea508e7fa065e7e (diff) | |
download | linux-56257d4c422d0f45b1367145ffe1a1350d4338b6.tar.xz |
drm/etnaviv: Use unsigned type to count the number of pages
The drm_prime_pages_to_sg() function takes an 'unsigned int' argument to
store the length of the page vector. The size of the object in number of
CPU pages can not be negative, hence, use 'unsigned' variable to store
the number of pages, instead of the 'signed' one.
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/gecko.py')
0 files changed, 0 insertions, 0 deletions