302f06534e
The return variable rc in sbs_gauge_do_battery_cutoff() needs to be initialized, or else it would return random value if the for loop is never entered. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
emul_sbs_gauge.c | ||
Kconfig | ||
Kconfig.emul_sbs_gauge | ||
sbs_gauge.c | ||
sbs_gauge.h |