[PATCH 1/1] dm: error handling dev_get_dma_range()

Simon Glass sjg at chromium.org
Tue Mar 16 06:58:15 CET 2021


On Sat, 20 Feb 2021 at 02:41, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> goto after return has not effect. Calling of_node_put() in case of some
> errors and not for others is inconsistent.
>
> Fixes: 51bdb50904b ("dm: Introduce xxx_get_dma_range()")
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/core/of_addr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list