forked from luck/tmp_suning_uos_patched
225c87b40a
commit 927633a6d20af319d986f3e42c3ef9f6d7835008 upstream.
In stm_heartbeat_init(): return value gets reset after the first
iteration by stm_source_register_device(), so allocation failures
after that will, after a clean up, return success. Fix that.
Fixes:
|
||
---|---|---|
.. | ||
console.c | ||
core.c | ||
dummy_stm.c | ||
ftrace.c | ||
heartbeat.c | ||
Kconfig | ||
Makefile | ||
p_basic.c | ||
p_sys-t.c | ||
policy.c | ||
stm.h |