--- zzzz-none-000/linux-3.10.107/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 2021-02-04 17:41:59.000000000 +0000 @@ -247,7 +247,7 @@ np = of_find_compatible_node(NULL, NULL, "nintendo,flipper-exi"); if (!np) { udbg_printf("%s: EXI node not found\n", __func__); - goto done; + goto out; } exi_io_base = ug_udbg_setup_exi_io_base(np); @@ -267,8 +267,8 @@ } done: - if (np) - of_node_put(np); + of_node_put(np); +out: return; }