summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHaoxiang Li <haoxiang_li2024@163.com>2025-05-16 15:16:54 +0300
committerJani Nikula <jani.nikula@intel.com>2025-05-20 20:55:22 +0300
commitdcab7a228f4ea9cda3f5b0a1f0679e046d23d7f7 (patch)
tree2f5030c5446922392aabb2e6bb1881e89ed88443 /scripts/gdb/linux/utils.py
parentc3a48363cf1f76147088b1adb518136ac5df86a0 (diff)
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: stable@vger.kernel.org Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://lore.kernel.org/r/20d3d096c6a4907636f8a1389b3b4dd753ca356e.1747397638.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions