Re: [PATCH v3] w1: Replace usage of found with dedicated list iterator variable

From: Krzysztof Kozlowski
Date: Sat May 13 2023 - 15:16:13 EST



On Fri, 12 May 2023 13:36:10 +0200, Jakob Koschel wrote:
> To move the list iterator variable into the list_for_each_entry_*()
> macro in the future it should be avoided to use the list iterator
> variable after the loop body.
>
> To *never* use the list iterator variable after the loop it was
> concluded to use a separate iterator variable instead of a
> found boolean [1].
>
> [...]

Applied, thanks!

[1/1] w1: Replace usage of found with dedicated list iterator variable
https://git.kernel.org/krzk/linux-w1/c/b332af5398a3aa1a2fdd69bb6968a8f866cc39aa

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>