Re: [PATCH] media: staging/ipu7: use guard(mutex) and simplify retry loop in buttress
From: Sakari Ailus
Date: Thu Nov 05 2026 - 05:24:36 EST
Hi Laurian,
On Thu, Nov 05, 2026 at 12:28:32AM +0200, Laurian Iacob wrote:
> Use scope-based guard(mutex) from linux/cleanup.h in
> ipu_buttress_ipc_send_msg() and ipu_buttress_authenticate() to simplify
> error handling and remove redundant goto unlock paths.
>
> Additionally, replace the backward goto retry label in
> ipu_buttress_ipc_send_msg() with a standard for (;;) loop to improve
> control flow readability.
>
> Signed-off-by: Laurian Iacob <laurian.iacob@xxxxxxxxx>
Thanks for the patch.
Unfortunately the ipu7 staging driver will be removed soon, therefore it's
a target of fixes only.
--
Kind regards,
Sakari Ailus