android_kernel_xiaomi_sm8350/arch/powerpc
Guillaume Knispel af4d364386 powerpc: Fix corruption error in rh_alloc_fixed()
There is an error in rh_alloc_fixed() of the Remote Heap code:
If there is at least one free block blk won't be NULL at the end of the
search loop, so -ENOMEM won't be returned and the else branch of
"if (bs == s || be == e)" will be taken, corrupting the management
structures.

Signed-off-by: Guillaume Knispel <gknispel@proformatique.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-12-17 10:06:14 -06:00
..
boot powerpc/40x: Add proper BOOTCFLAGS for cuboot-acadia 2008-12-11 07:34:22 -05:00
configs powerpc/83xx: Enable FIXED_PHY in mpc834x_itx and mpc83xx defconfigs 2008-12-04 18:47:09 -06:00
include/asm Merge branch 'kvm-updates/2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm 2008-12-02 15:56:17 -08:00
kernel powerpc/fsl-booke: Fix the miss interrupt restore 2008-12-17 10:06:13 -06:00
kvm KVM: ppc: stop leaking host memory on VM exit 2008-11-25 12:02:48 +02:00
lib powerpc: Fix corruption error in rh_alloc_fixed() 2008-12-17 10:06:14 -06:00
math-emu
mm powerpc: Fix bootmem reservation on uninitialized node 2008-12-16 13:48:18 +11:00
oprofile powerpc/cell/OProfile: Fix on-stack array size in activate spu profiling function 2008-10-31 16:13:51 +11:00
platforms powerpc/cell/axon-msi: Fix MSI after kexec 2008-12-16 13:48:18 +11:00
sysdev powerpc: Use physical cpu id when setting the processor affinity 2008-12-02 15:50:40 -08:00
xmon powerpc: Fix compile errors with CONFIG_BUG=n 2008-10-31 21:34:09 +11:00
Kconfig Merge commit 'v2.6.28-rc2' into tracing/urgent 2008-10-27 10:50:54 +01:00
Kconfig.debug
Makefile ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00