Re: [PATCH 1/8] bitops: protect find_first_{,zero}_bit properly
From: Yury Norov
Date: Mon Jun 28 2021 - 21:29:36 EST
On Sun, Jun 13, 2021 at 12:38:52AM +0300, Andy Shevchenko wrote:
> On Sat, Jun 12, 2021 at 3:38 PM Yury Norov <yury.norov@xxxxxxxxx> wrote:
> >
> > find_first_bit() and find_first_zero_bit() are not protected with
> > ifdefs as other functions in find.h. It causes build errors on some
> > platforms if CONFIG_GENERIC_FIND_FIRST_BIT is enabled.
>
> Fixes?
Fixes: 2cc7b6a44ac2 ("lib: add fast path for find_first_*_bit() and find_last_bit()")
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>