-
由 Javier Martinez Canillas 提交于
The function is always returning zero even in case of failures since the ret value was not propagated to the callers. Fix the error path. Reported-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Tested-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: NLaxman Dewangan <ldewangan@nvidia.com> Reviewed-by: NAndi Shyti <andi.shyti@samsung.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
7cdffeb5