On Fri, 16 May 2025, Matthew Auld matthew.auld@intel.com wrote:
On 16/05/2025 13:16, Jani Nikula wrote:
From: Haoxiang Li haoxiang_li2024@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@vger.kernel.org Signed-off-by: Haoxiang Li haoxiang_li2024@163.com Signed-off-by: Jani Nikula jani.nikula@intel.com
Reviewed-by: Matthew Auld matthew.auld@intel.com
Thanks for the review, pushed the lot to drm-intel-next.
BR, Jani.