android_kernel_motorola_sm6375/arch/powerpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Ellerman 3d2598c317 powerpc/boot: Only free if realloc() succeeds
[ Upstream commit f2d5bccaca3e8c09c9b9c8485375f7bdbb2631d2 ]

simple_realloc() frees the original buffer (ptr) even if the
reallocation failed.

Fix it to behave like standard realloc() and only free the original
buffer if the reallocation succeeded.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229115149.749264-1-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-04 13:14:56 +02:00
..
boot powerpc/boot: Only free if realloc() succeeds 2024-09-04 13:14:56 +02:00
configs
crypto
include powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n 2024-07-18 11:40:49 +02:00
kernel powerpc/eeh: avoid possible crash when edev->pdev changes 2024-07-27 10:38:31 +02:00
kvm powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap() 2024-08-19 05:33:42 +02:00
lib powerpc: xor_vmx: Add '-mhard-float' to CFLAGS 2024-04-13 12:51:31 +02:00
math-emu
mm powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE 2024-02-23 08:24:53 +01:00
net
oprofile
perf powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks 2024-03-26 18:22:22 -04:00
platforms powerpc/pseries: Whitelist dtl slub object for copying to userspace 2024-07-27 10:38:31 +02:00
purgatory
sysdev powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu 2024-09-04 13:14:54 +02:00
tools
xmon powerpc/xmon: Fix disassembly CPU feature checks 2024-08-19 05:33:33 +02:00
Kbuild
Kconfig
Kconfig.debug
Makefile
Makefile.postlink