Commit e19d7f7
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 <[email protected]>
Closes: https://lore.kernel.org/op-tee/[email protected]/
Fixes: d6e2908 ("tee: add Qualcomm TEE driver")
Signed-off-by: Amirreza Zarrabi <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>1 parent ac5ae0a commit e19d7f7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments