Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro

Andy Shevchenko
2020-06-03T21:58:39Z

On Thu, Jun 4, 2020 at 12:53 AM Rikard Falkeborn
<rikard.falkeborn@gmail.com> wrote:
> On Wed, Jun 03, 2020 at 11:49:37AM +0300, Andy Shevchenko wrote:
> > On Tue, Jun 2, 2020 at 10:01 PM Rikard Falkeborn
> > <rikard.falkeborn@gmail.com> wrote:

...

> I'd be very surprised if compilers warned for explicit casts but I'll
> send a proper patch soon to let the build robot try it.

I noticed that you should have received kbuild bot report about a
driver where it appears.

You patch broke all cases where (l) = 0 and (h) is type of unsigned
(not a const from compiler point of view).

--
With Best Regards,
Andy Shevchenko