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

Andrew Jeffery andrew at aj.id.au
Mon Nov 16 15:10:55 AEDT 2020



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 at oracle.com>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>


More information about the Linux-aspeed mailing list