On Mon Nov 30, 2026 at 11:19 PM GMT, Danilo Krummrich wrote:
> Use ScopeGuard to call vm.kill() when firmware section loading fails.
> Dismiss it on success, replacing the nested closure and explicit error
> check.
> 
> Signed-off-by: Danilo Krummrich <[email protected]>

Looks much cleaner!

Reviewed-by: Gary Guo <[email protected]>

> ---
>  drivers/gpu/drm/tyr/fw.rs | 59 ++++++++++++++++++---------------------
>  1 file changed, 27 insertions(+), 32 deletions(-)

Reply via email to