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

Simon Glass sjg at chromium.org
Sat Feb 20 12:54:43 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>


More information about the U-Boot mailing list