aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-11-13 13:08:50 +0300
committerJoel Stanley <joel@jms.id.au>2020-11-19 23:01:15 +1030
commit0f0c9c702241d839dbb1d355b77e5712a5a5793f (patch)
treeb98aa8229b02cb801a6a51987a52e719f1e0df8c /samples
parent959b981dc7bc144e0e256f8fe34b6ce23e839525 (diff)
downloadlinux-0f0c9c702241d839dbb1d355b77e5712a5a5793f.tar.gz
soc: aspeed: Fix a reference leak in aspeed_socinfo_init()
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@oracle.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lore.kernel.org/r/20201113100850.GA168908@mwanda Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions