diff options
| author | Kemeng Shi <[email protected]> | 2025-02-13 16:36:59 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-02-18 06:40:04 +0000 |
| commit | 8344017aaf32a7532cff293eb3df7fd2265ebafd (patch) | |
| tree | bf495e434b617f775020d45f81f7352e804c8276 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | kasan: don't call find_vm_area() in a PREEMPT_RT kernel (diff) | |
| download | kernel-8344017aaf32a7532cff293eb3df7fd2265ebafd.tar.gz kernel-8344017aaf32a7532cff293eb3df7fd2265ebafd.zip | |
test_xarray: fix failure in check_pause when CONFIG_XARRAY_MULTI is not defined
In case CONFIG_XARRAY_MULTI is not defined, xa_store_order can store a
multi-index entry but xas_for_each can't tell sbiling entry from valid
entry. So the check_pause failed when we store a multi-index entry and
wish xas_for_each can handle it normally. Avoid to store multi-index
entry when CONFIG_XARRAY_MULTI is disabled to fix the failure.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: c9ba5249ef8b ("Xarray: move forward index correctly in xas_pause()")
Signed-off-by: Kemeng Shi <[email protected]>
Reported-by: Geert Uytterhoeven <[email protected]>
Closes: https://lore.kernel.org/r/CAMuHMdU_bfadUO=0OZ=AoQ9EAmQPA4wsLCBqohXR+QCeCKRn4A@mail.gmail.com
Tested-by: Geert Uytterhoeven <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
