Merge tag 'mvebu-cleanup-4.6-2' of git://git.infradead.org/linux-mvebu into next/cleanup
Merge "mvebu cleanup for 4.6 (part 2)" from Gregory CLEMENT: Add a missing call to of_node_put() armada_xp_smp_prepare_cpus() * tag 'mvebu-cleanup-4.6-2' of git://git.infradead.org/linux-mvebu: ARM: mvebu: add missing of_node_put()
This commit is contained in:
@@ -140,6 +140,7 @@ static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus)
|
||||
panic("Cannot find 'marvell,bootrom' compatible node");
|
||||
|
||||
err = of_address_to_resource(node, 0, &res);
|
||||
of_node_put(node);
|
||||
if (err < 0)
|
||||
panic("Cannot get 'bootrom' node address");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user