Re: [PATCH] soc: aspeed: Fix a reference leak in aspeed_socinfo_init()

From: Andrew Jeffery
Date: Sun Nov 15 2020 - 23:11:20 EST




On Fri, 13 Nov 2020, at 20:38, Dan Carpenter wrote:
> This needs to call of_node_put(np) before returning if of_iomap() fails.
>
> Fixes: e0218dca5787 ("soc: aspeed: Add soc info driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Reviewed-by: Andrew Jeffery <andrew@xxxxxxxx>