[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168400535611.15552.1786356693337116979.b4-ty@linaro.org>
Date: Sat, 13 May 2023 21:15:58 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Evgeniy Polyakov <zbr@...emap.net>,
Krzysztof Kozlowski <krzk@...nel.org>,
Jakob Koschel <jkl820.git@...il.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] w1: Replace usage of found with dedicated list iterator variable
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@...aro.org>
Powered by blists - more mailing lists