Tag: aed5029ead26fe47527d9e9f2052cf56b72543f0

drivers/net/can/mscan/mpc5xxx_can.c: Add of_node_put to avoid memory leak

Author: Julia Lawall <julia@diku.dk> Add a call to of_node_put in the error handling code following a call to of_find_matching_node. This patch also moves the existing call to of_node_put after the call to iounmap in the error handling code, to make it possible to jump to of_node_put without doing iounmap. These appear to be disjoint operations, …

Continue reading