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

Yury Norov
2021-06-21T21:34:25Z

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@gmail.com>
> > ---
> > 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.