aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorHaoxiang Li <[email protected]>2025-05-16 12:16:54 +0000
committerJoonas Lahtinen <[email protected]>2025-05-22 06:25:57 +0000
commitf4c7baa0699b69edb6887a992283b389761e0e81 (patch)
tree1894ca022ec737a8e243db88305b667c01ab1653 /rust/helpers/platform.c
parentdrm/i915/dp_mst: Work around Thunderbolt sink disconnect after SINK_COUNT_ESI... (diff)
downloadkernel-f4c7baa0699b69edb6887a992283b389761e0e81.tar.gz
kernel-f4c7baa0699b69edb6887a992283b389761e0e81.zip
drm/i915/display: Add check for alloc_ordered_workqueue() and alloc_workqueue()
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: [email protected] Signed-off-by: Haoxiang Li <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://lore.kernel.org/r/20d3d096c6a4907636f8a1389b3b4dd753ca356e.1747397638.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <[email protected]> (cherry picked from commit dcab7a228f4ea9cda3f5b0a1f0679e046d23d7f7) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions