diff options
| author | 2014-09-04 17:31:23 +0530 | |
|---|---|---|
| committer | 2014-09-16 11:01:27 +0200 | |
| commit | f9c85486c4ae8fd56770340bd9c16a61127c96e1 (patch) | |
| tree | afd50e87aa06851ed681f8adc498c52796b65cda /scripts/stackusage | |
| parent | power-supply: Don't over-allocate memory for "supplied-from" array (diff) | |
power-supply: Return early if "power-supplies" property isn't valid
If power-supply's DT node doesn't have a valid "power-supplies" entry, then
power_supply_check_supplies() should return early instead of trying to allocate
memory for "supplied_from" array.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
