Re: [PATCH v2] drm/xe/tests: Fix the shrinker test compiler warnings.

2024-10-04 Thread Matthew Auld
On 04/10/2024 15:11, Thomas Hellström wrote: The xe_bo_shrink_kunit test has an uninitialized value and illegal integer size conversions on 32-bit. Fix. v2: - Use div64_u64 to ensure the u64 division compiles everywhere. (Matt Auld) Reported-by: Nathan Chancellor Closes: https://lore.kernel.or

[PATCH v2] drm/xe/tests: Fix the shrinker test compiler warnings.

2024-10-04 Thread Thomas Hellström
The xe_bo_shrink_kunit test has an uninitialized value and illegal integer size conversions on 32-bit. Fix. v2: - Use div64_u64 to ensure the u64 division compiles everywhere. (Matt Auld) Reported-by: Nathan Chancellor Closes: https://lore.kernel.org/20240913195649.GA61514@thelio-3990X/ Fixes: 5