summaryrefslogtreecommitdiff
path: root/include/linux/sizes.h
diff options
context:
space:
mode:
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>2022-02-28 12:03:51 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-01 16:11:38 +0100
commit5838a14832d447990827d85e90afe17e6fb9c175 (patch)
treec9ec19c1e84169ce034ba9ac02eef9360998a9e0 /include/linux/sizes.h
parent7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3 (diff)
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 <nicolas.cavallari@green-communications.fr> Cc: 5.10+ <stable@vger.kernel.org> # 5.10+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/sizes.h')
0 files changed, 0 insertions, 0 deletions