# Re: \[PATCH 1/2\] gpiolib: Fix missing updates of bitmap index

- From: Linus Walleij \<hidden\>
- Date: 2018-09-24 08:11:39 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/09/5388456
- Thread: https://ratatoskr.run/linux-doc/2018/08/5360350/t.md

```text
On Mon, Sep 24, 2018 at 1:52 AM Janusz Krzysztofik [ref] wrote:

> In new code introduced by commit b17566a6b08b ("gpiolib: Implement fast
> processing path in get/set array"), bitmap index is not updated with
> next found zero bit position as it should while skipping over pins
> already processed via fast bitmap path, possibly resulting in an
> infinite loop.  Fix it.
>
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>

Patch applied!

Thanks for working on getting this into shape!

Yours,
Linus Walleij
```
