summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXueqin Luo <luoxueqin@kylinos.cn>2026-08-11 10:21:15 +0800
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-09-16 02:18:55 +0300
commit17d0f874b1f8774c61ad495a4ad20ed8c829dfae (patch)
tree5eae72f7aa5f7efcc5b95fc8e7a0c3226e3d8236 /tools/perf/scripts/python/stackcollapse.py
parent6a6f3051e705b5c8facb0bf5984d5b981509e0b7 (diff)
downloadlinux-next-17d0f874b1f8774c61ad495a4ad20ed8c829dfae.tar.gz
linux-next-17d0f874b1f8774c61ad495a4ad20ed8c829dfae.zip
platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe
Add NULL check for ACPI_COMPANION() in topstar_acpi_probe() to prevent NULL pointer dereference when driver_override matches a device without ACPI companion. Fixes: 3471415c8186 ("platform/x86: topstar-laptop: Convert ACPI driver to a platform one") Signed-off-by: Xueqin Luo <luoxueqin@kylinos.cn> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/20260811022115.338595-1-luoxueqin@kylinos.cn Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions