diff options
| author | Nicolas Cavallari <[email protected]> | 2022-02-28 11:03:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-03-01 15:11:38 +0000 |
| commit | 5838a14832d447990827d85e90afe17e6fb9c175 (patch) | |
| tree | c9ec19c1e84169ce034ba9ac02eef9360998a9e0 /tools/perf/scripts/python/flamegraph.py | |
| parent | Linux 5.17-rc6 (diff) | |
| download | kernel-5838a14832d447990827d85e90afe17e6fb9c175.tar.gz kernel-5838a14832d447990827d85e90afe17e6fb9c175.zip | |
thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
Do not call get_trip_hyst() from thermal_genl_cmd_tz_get_trip() if
the thermal zone does not define one.
Fixes: 1ce50e7d408e ("thermal: core: genetlink support for events/cmd/sampling")
Signed-off-by: Nicolas Cavallari <[email protected]>
Cc: 5.10+ <[email protected]> # 5.10+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
