[PATCH v2 2/2] drm/nouveau: nouveau_fence: Standardize list iterations
Danilo Krummrich
dakr at kernel.org
Wed Apr 23 15:26:54 UTC 2025
On Tue, Apr 15, 2025 at 02:19:01PM +0200, Philipp Stanner wrote:
> nouveau_fence.c iterates over lists in a non-canonical way. Since the
> operations done are just basic for-each-loops, they should be written in
> the standard form.
>
> Use for_each_safe() instead of the custom loop iterations.
Please use list_for_each_entry_safe() instead.
You only need resend this patch, I will pick patch 1 for -fixes; this one goes
into -next.
- Danilo
More information about the dri-devel
mailing list