[PATCH 1/7] drm/i915/display: Add check for alloc_ordered_workqueue() and alloc_workqueue()
Jani Nikula
jani.nikula at intel.com
Tue May 20 18:10:32 UTC 2025
On Fri, 16 May 2025, Matthew Auld <matthew.auld at intel.com> wrote:
> On 16/05/2025 13:16, Jani Nikula wrote:
>> From: Haoxiang Li <haoxiang_li2024 at 163.com>
>>
>> Add check for the return value of alloc_ordered_workqueue()
>> and alloc_workqueue(). Furthermore, if some allocations fail,
>> cleanup works are added to avoid potential memory leak problem.
>>
>> Fixes: 40053823baad ("drm/i915/display: move modeset probe/remove functions to intel_display_driver.c")
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Haoxiang Li <haoxiang_li2024 at 163.com>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Thanks for the review, pushed the lot to drm-intel-next.
BR,
Jani.
--
Jani Nikula, Intel
More information about the Intel-gfx
mailing list