summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-14 19:25:09 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-14 19:40:47 +0300
commit0104dcdaad3a7afd141e79a5fb817a92ada910ac (patch)
tree5bda6e27c82bb79d1fc3633788c0d6617f271c80 /include
parent1c426fd09ca85fb77f120f7933e39eb9df99a39a (diff)
downloadlinux-0104dcdaad3a7afd141e79a5fb817a92ada910ac.tar.xz
thermal: testing: Initialize some variables annoteded with _free()
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions