summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2025-10-08 14:44:59 -0700
committerMatthew Brost <matthew.brost@intel.com>2025-10-09 03:22:15 -0700
commitb0607599b7d1a8372b6dcd790d52bd1aefe59845 (patch)
treeb2bdb6c8fa87f83e6031420f86b1625ed1bd06d8 /tools/perf/scripts/python/bin/stackcollapse-report
parent15b3036045188f4da4ca62b2ed01b0f160252e9b (diff)
downloadlinux-b0607599b7d1a8372b6dcd790d52bd1aefe59845.tar.gz
linux-b0607599b7d1a8372b6dcd790d52bd1aefe59845.zip
drm/xe: Add NULL checks to scratch LRC allocation
kmalloc can fail, the returned value must have a NULL check. This should be immediately after kmalloc for clarity. v5: - Assert state->buffer in setup_bo if buffer is iomem (Tomasz) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Tomasz Lis <tomasz.lis@intel.com> Link: https://lore.kernel.org/r/20251008214532.3442967-2-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions