Tag: b1725c9319aae42d7bd1159fc99e033d5a3076f8

[POWERPC] arch/powerpc/sysdev: Add missing of_node_put

Author: Julia Lawall <julia@diku.dk> The functions of_find_compatible_node and of_find_node_by_type both call of_node_get on their result. So any error handling code thereafter should call of_node_put(np). This is taken care of in the case where there is a goto out, but not when there is a direct return. The function irq_alloc_host puts np into the returned structure, …

Continue reading