Re: [lvc-project] [PATCH] drm/amd/pm: check return value of amdgpu_irq_add_id()

From: Alexey Khoroshilov
Date: Mon Feb 05 2024 - 08:41:53 EST


On 05.02.2024 15:25, Igor Artemiev wrote:
> amdgpu_irq_ad_id() may fail and the irq handlers will not be registered.
> This patch adds error code check.

But what is about deallocation of already allocated memory?

--
Alexey