linux/arch
Wentao Guan b52f1fbb06 LoongArch: Fix memleak in pci_acpi_scan_root()
[ Upstream commit 5016c3a31a ]

Add kfree(root_ops) in this case to avoid memleak of root_ops,
leaks when pci_find_bus() != 0.

Signed-off-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-10-17 15:22:16 +02:00
..
alpha rtc: Add support for configuring the UIP timeout for RTC reads 2024-01-31 16:17:01 -08:00
arc ARC: [plat-hsdk]: Remove misplaced interrupt-cells property 2024-05-02 16:29:23 +02:00
arm crypto: simd - Do not call crypto_alloc_tfm during registration 2024-10-17 15:21:39 +02:00
arm64 Revert "arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings" 2024-10-17 15:22:08 +02:00
csky csky, hexagon: fix broken sys_sync_file_range 2024-07-05 09:31:57 +02:00
hexagon hexagon: fix fadvise64_64 calling conventions 2024-07-05 09:31:57 +02:00
ia64 ia64/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 20:03:46 +02:00
loongarch LoongArch: Fix memleak in pci_acpi_scan_root() 2024-10-17 15:22:16 +02:00
m68k m68k: Fix kernel_clone_args.flags in m68k_clone() 2024-10-17 15:20:47 +02:00
microblaze microblaze: don't treat zero reserved memory regions as error 2024-09-30 16:23:47 +02:00
mips MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed 2024-09-12 11:10:25 +02:00
nios2 mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:16:25 +02:00
openrisc openrisc: Call setup_memory() earlier in the init sequence 2024-08-29 17:30:39 +02:00
parisc parisc: Fix 64-bit userspace syscall path 2024-10-17 15:21:55 +02:00
powerpc powerpc/vdso: Fix VDSO data access when running in a non-root time namespace 2024-10-17 15:21:49 +02:00
riscv riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and R_RISCV_SUB16 unknown 2024-10-17 15:22:15 +02:00
s390 s390/cpum_sf: Remove WARN_ON_ONCE statements 2024-10-17 15:22:13 +02:00
sh sh: rework sync_file_range ABI 2024-07-05 09:31:57 +02:00
sparc sparc64: Fix incorrect function signature and add prototype for prom_cif_init 2024-08-03 08:49:16 +02:00
um um: line: always fill *error_out in setup_one_line() 2024-09-12 11:10:23 +02:00
x86 bpf, x64: Fix a jit convergence issue 2024-10-17 15:22:13 +02:00
xtensa xtensa: fix MAKE_PC_FROM_RA second argument 2024-06-21 14:35:39 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default" 2024-06-27 13:46:24 +02:00