Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'xtensa-20220626' of https://github.com/jcmvbkbc/linux-xtensa

Pull xtensa fixes from Max Filippov:

- fix OF reference leaks in xtensa arch code

- replace '.bss' with '.section .bss' to fix entry.S build with old
assembler

* tag 'xtensa-20220626' of https://github.com/jcmvbkbc/linux-xtensa:
xtensa: change '.bss' to '.section .bss'
xtensa: xtfpga: Fix refcount leak bug in setup
xtensa: Fix refcount leak bug in time.c

+3 -1
+1 -1
arch/xtensa/kernel/entry.S
··· 2173 2173 2174 2174 #ifdef CONFIG_HIBERNATION 2175 2175 2176 - .bss 2176 + .section .bss, "aw" 2177 2177 .align 4 2178 2178 .Lsaved_regs: 2179 2179 #if defined(__XTENSA_WINDOWED_ABI__)
+1
arch/xtensa/kernel/time.c
··· 154 154 cpu = of_find_compatible_node(NULL, NULL, "cdns,xtensa-cpu"); 155 155 if (cpu) { 156 156 clk = of_clk_get(cpu, 0); 157 + of_node_put(cpu); 157 158 if (!IS_ERR(clk)) { 158 159 ccount_freq = clk_get_rate(clk); 159 160 return;
+1
arch/xtensa/platforms/xtfpga/setup.c
··· 133 133 134 134 if ((eth = of_find_compatible_node(eth, NULL, "opencores,ethoc"))) 135 135 update_local_mac(eth); 136 + of_node_put(eth); 136 137 return 0; 137 138 } 138 139 arch_initcall(machine_setup);