[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210609111447.GG1955@kadam>
Date: Wed, 9 Jun 2021 14:14:47 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Fabio Aiuto <fabioaiuto83@...il.com>
Cc: gregkh@...uxfoundation.org, hdegoede@...hat.com,
Larry.Finger@...inger.net, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>
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@...ck-us.net>
> Tested-by: Fabio Aiuto <fabioaiuto83@...il.com>
> Signed-off-by: Fabio Aiuto <fabioaiuto83@...il.com>
Looks good.
Reviewed-by: Dan Carpenter <dan.carpenter@...cle.com>
regards,
dan carpenter
Powered by blists - more mailing lists