Messages in this thread | | | Date | Wed, 9 Jun 2021 14:14:47 +0300 | From | Dan Carpenter <> | Subject | Re: [PATCH] staging: rtl8723bs: use list_for_each_safe in loops deleting iterated items |
| |
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 <fabioaiuto83@gmail.com> > Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Looks good.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
regards, dan carpenter
| |