summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-02 12:06:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-12-09 21:30:10 +0100
commit7899ca9f3bd2b008e9a7c41f2a9f1986052d7e96 (patch)
tree64b446715aea1d4e00770c9a9bf1b8913abab89e /tools/perf/scripts/python/stackcollapse.py
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
ACPI: resource: Fix memory resource type union access
In acpi_decode_space() addr->info.mem.caching is checked on main level for any resource type but addr->info.mem is part of union and thus valid only if the resource type is memory range. Move the check inside the preceeding switch/case to only execute it when the union is of correct type. Fixes: fcb29bbcd540 ("ACPI: Add prefetch decoding to the address space parser") Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://patch.msgid.link/20241202100614.20731-1-ilpo.jarvinen@linux.intel.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions