Re: [RESEND v13 07/25] CXL/AER: Replace device_lock() in cxl_rch_handle_error_iter() with guard() lock

From: dan.j.williams

Date: Tue Nov 18 2025 - 22:20:21 EST


Terry Bowman wrote:
> cxl_rch_handle_error_iter() includes a call to device_lock() using a goto
> for multiple return paths. Improve readability and maintainability by
> using the guard() lock variant.
>
> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>

LGTM

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>