On Mon, Feb 20, 2017 at 11:17:36PM -0600, Gustavo A. R. Silva wrote:
> The name of an array used by itself will always return the array's address.
> So it makes no sense to evaluate it, since the test will always evaluate as
> true.
> - if (pdata && pdata->regulators) {
> + if (pdata) {
T
The name of an array used by itself will always return the array's address.
So it makes no sense to evaluate it, since the test will always evaluate as
true.
Addresses-Coverity-ID: 751412
Signed-off-by: Gustavo A. R. Silva
---
drivers/regulator/da9055-regulator.c | 2 +-
1 file changed, 1 insert
2 matches
Mail list logo