aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/syscall-counts-record
diff options
context:
space:
mode:
authorAmirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com>2025-11-13 19:38:42 -0800
committerJens Wiklander <jens.wiklander@linaro.org>2025-11-17 10:19:29 +0100
commite19d7f7e92e061707252eab2b71d2c3be09b2e96 (patch)
treee6f95be0577a3901f82eed3d684211e2b8a219c3 /tools/perf/scripts/python/bin/syscall-counts-record
parenttee: qcomtee: fix uninitialized pointers with free attribute (diff)
downloadlinux-e19d7f7e92e061707252eab2b71d2c3be09b2e96.tar.gz
linux-e19d7f7e92e061707252eab2b71d2c3be09b2e96.zip
tee: qcomtee: initialize result before use in release worker
Initialize result to 0 so the error path doesn't read it uninitialized when the invoke fails. Fixes a Smatch warning. Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/op-tee/7c1e0de2-7d42-4c6b-92fe-0e4fe5d650b5@oss.qualcomm.com/ Fixes: d6e290837e50 ("tee: add Qualcomm TEE driver") Signed-off-by: Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions