Re: [PATCH v2] radix tree test suite: put definition of bitmap_clear() into lib/bitmap.c
From: Yury Norov
Date: Wed Jul 10 2024 - 17:35:39 EST
On Wed, Jul 10, 2024 at 05:27:01PM +0000, Wei Yang wrote:
> In tools/ directory, function bitmap_clear() is currently only used in
> object file tools/testing/radix-tree/xarray.o.
>
> But instead of keeping a bitmap.c with only bitmap_clear() definition in
> radix-tree's own directory, it would be more proper to put it in common
> directory lib/.
>
> Sync the kernel definition and link some related libs, no functional
> change is expected.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
> CC: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> CC: Yury Norov <yury.norov@xxxxxxxxx>
Added in bitmap-for-next for testing.
Thanks,
Yury