aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2024-10-04 16:11:20 +0200
committerThomas Hellström <[email protected]>2024-10-09 12:18:22 +0200
commit7a7593e5885bc172050a75ddf2bb6aeb96c8a8a0 (patch)
treefa4ee5afe825d8e839ff3a65c01278f591d71f3d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent67ec9f87bd6c57db1251bb2244d242f7ca5a0b6a (diff)
drm/xe/tests: Fix the shrinker test compiler warnings.
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 <[email protected]> Closes: https://lore.kernel.org/20240913195649.GA61514@thelio-3990X/ Fixes: 5a90b60db5e6 ("drm/xe: Add a xe_bo subtest for shrinking / swapping") Cc: [email protected] Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> #v1 Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions