Messages in this thread | | | From | Jens Axboe <> | Subject | Re: [PATCH v2] block: use dedicated list iterator variable | Date | Thu, 31 Mar 2022 06:06:03 -0600 |
| |
On Thu, 31 Mar 2022 11:12:18 +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] block: use dedicated list iterator variable commit: 4a3b666e0ea977dd40adb56c37a91370f76fa19e
Best regards, -- Jens Axboe
| |