]> git.dujemihanovic.xyz Git - u-boot.git/commit
android_ab: don't ignore ab_control_store return code
authorAlexey Romanov <avromanov@salutedevices.com>
Mon, 25 Dec 2023 10:22:45 +0000 (13:22 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jan 2024 03:14:57 +0000 (22:14 -0500)
commitbf2df680286956b3187b1820ae54c5a0fb594857
tree1b1338bd798f8f2a5aa62a89b6b21c8acf8270af
parent03e598263e3878b6f5d58f5525577903edadc644
android_ab: don't ignore ab_control_store return code

ab_control_store() can return an error if writing to disk fails.
In this case, we have to pass the error code to the caller.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/android_ab.c