Re: [PATCH 3/3] Replace for_each_*_bit_from() with for_each_*_bit() where appropriate

From: Yury Norov
Date: Mon Jun 21 2021 - 17:34:26 EST


On Mon, Jun 21, 2021 at 01:17:11PM -0700, Guenter Roeck wrote:
> On Fri, Jun 18, 2021 at 12:57:35PM -0700, Yury Norov wrote:
> > A couple of kernel functions call for_each_*_bit_from() with start
> > bit equal to 0. Replace them with for_each_*_bit().
> >
> > No functional changes, but might improve on readability.
> >
> > Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
> > ---
> > arch/x86/kernel/apic/vector.c | 4 ++--
> > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 ++--
> > drivers/hwmon/ltc2992.c | 3 +--
>
> This should be three different patches, one per subsystem.

It was discussed recently.
https://lore.kernel.org/linux-arch/20210614180706.1e8564854bfed648dd4c039b@xxxxxxxxxxxxxxxxxxxx/