Re: [PATCH] soc: qcom: initialize local variable

2020-08-25 Thread Sibi Sankar
On 2020-08-20 00:16, t...@redhat.com wrote: From: Tom Rix clang static analysis reports this problem pdr_interface.c:596:6: warning: Branch condition evaluates to a garbage value if (!req.service_path[0]) ^~~~ This check that req.service_path was set in a

[PATCH] soc: qcom: initialize local variable

2020-08-19 Thread trix
From: Tom Rix clang static analysis reports this problem pdr_interface.c:596:6: warning: Branch condition evaluates to a garbage value if (!req.service_path[0]) ^~~~ This check that req.service_path was set in an earlier loop. However req is a stack variabl