Re: [PATCH] staging: media: atomisp: return early on hmm_bo_device_init() failure
From: Andy Shevchenko
Date: Wed Aug 20 2025 - 11:22:39 EST
On Fri, Aug 15, 2025 at 08:37:55PM +0300, Abdelrahman Fekry wrote:
> hmm_init() would continue execution even if hmm_bo_device_init() failed,
> potentially leading to bad behaviour when calling hmm_alloc().
>
> - returns the error immediately if hmm_bo_device_init() fails.
Acked-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko