summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-14 17:25:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:01:20 +0100
commit526c132124a62be486bad1701f7e8e92212ccec6 (patch)
tree2e040b90f0efa5253f127086fc23a6195ef7b206 /scripts/stackusage
parent6bb065a874bac74e90047c240ed2d381d70f2d5b (diff)
downloadlinux-526c132124a62be486bad1701f7e8e92212ccec6.tar.gz
linux-526c132124a62be486bad1701f7e8e92212ccec6.tar.bz2
linux-526c132124a62be486bad1701f7e8e92212ccec6.zip
thermal: testing: Initialize some variables annoteded with _free()
[ Upstream commit 0104dcdaad3a7afd141e79a5fb817a92ada910ac ] Variables annotated with __free() need to be initialized if the function can return before they get updated for the first time or the attempt to free the memory pointed to by them upon function return may crash the kernel. Fix this issue in some places in the thermal testing code. Fixes: f6a034f2df42 ("thermal: Introduce a debugfs-based testing facility") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/12576267.O9o76ZdvQC@rjwysocki.net Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions