Thread (3 messages) 3 messages, 3 authors, 2021-06-09

Re: [PATCH] staging: rtl8723bs: use list_for_each_safe in loops deleting iterated items

From: Dan Carpenter <hidden>
Date: 2021-06-09 11:16:21
Also in: lkml

On Mon, Jun 07, 2021 at 03:46:18PM +0200, Fabio Aiuto wrote:
Fix some beautified loops over linked lists.
Use list_for_each_safe on loops which could delete
objects in the list.

Fixes: b3cd518c5abd ("staging: rtl8723bs: Use list iterators and helpers")
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Fabio Aiuto <redacted>
Signed-off-by: Fabio Aiuto <redacted>
Looks good.

Reviewed-by: Dan Carpenter <redacted>

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help