diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2025-10-08 14:44:59 -0700 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2025-10-09 03:22:15 -0700 |
| commit | b0607599b7d1a8372b6dcd790d52bd1aefe59845 (patch) | |
| tree | b2bdb6c8fa87f83e6031420f86b1625ed1bd06d8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 15b3036045188f4da4ca62b2ed01b0f160252e9b (diff) | |
| download | linux-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-record')
0 files changed, 0 insertions, 0 deletions
