aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-06 17:40:27 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-04-06 17:40:27 +0200
commitd7e0481c0d0f0d2e73d4f1e675cb89d0308d0f7c (patch)
tree45479540deff74d4068aeb2c63f4b99db0c79917 /tools/perf/scripts/python/stackcollapse.py
parentMerge tag 'pnp-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff)
downloadlinux-dev-d7e0481c0d0f0d2e73d4f1e675cb89d0308d0f7c.tar.xz
linux-dev-d7e0481c0d0f0d2e73d4f1e675cb89d0308d0f7c.zip
ACPI: EC: Fix up fast path check in acpi_ec_add()
The fast path check in acpi_ec_add() is not incorrect, because in fact acpi_device_hid(device) can be equal to ACPI_ECDT_HID only if boot_ec is not NULL, but it may confuse static checkers, so change it to explicitly check boot_ec upfront and use the slow path if that pointer is NULL. Link: https://lore.kernel.org/linux-acpi/20200406144217.GA68494@mwanda/ Fixes: 3d9b8dd8320d ("ACPI: EC: Use fast path in acpi_ec_add() for DSDT boot EC") 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