Re: [PATCH] test_xarray: fix failure in check_pause when CONFIG_XARRAY_MULTI is not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kemeng,

On Thu, 13 Feb 2025 at 08:40, Kemeng Shi <shikemeng@xxxxxxxxxxxxxxx> wrote:
> 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.
>
> Signed-off-by: Kemeng Shi <shikemeng@xxxxxxxxxxxxxxx>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Thanks, this fixes the selftest on m68k/ARAnyM.

Closes: https://lore.kernel.org/r/CAMuHMdU_bfadUO=0OZ=AoQ9EAmQPA4wsLCBqohXR+QCeCKRn4A@xxxxxxxxxxxxxx
Fixes: c9ba5249ef8b080c ("Xarray: move forward index correctly in xas_pause()")
Tested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux