android_kernel_motorola_sm6375/arch/powerpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thomas Fourier dca836a04b (powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer
[ Upstream commit 760b9b4f6de9a33ca56a05f950cabe82138d25bd ]

If the device configuration fails (if `dma_dev->device_config()`),
`sg_dma_address(&sg)` is not initialized and the jump to `err_dma_prep`
leads to calling `dma_unmap_single()` on `sg_dma_address(&sg)`.

Signed-off-by: Thomas Fourier <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
2025-08-28 16:21:26 +02:00
..
boot powerpc/boot: Only free if realloc() succeeds 2024-09-04 13:14:56 +02:00
configs arch: powerpc: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX 2025-08-28 16:21:19 +02:00
crypto
include powerpc: Fix struct termio related ioctl macros 2025-07-17 18:24:57 +02:00
kernel powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery 2025-06-27 11:02:56 +01:00
kvm powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap() 2024-08-19 05:33:42 +02:00
lib powerpc/code-patching: Fix KASAN hit by not flagging text patching area as VM_ALLOC 2025-03-13 12:43:22 +01:00
math-emu powerpc/math_emu/efp: Include module.h 2022-10-26 13:22:44 +02:00
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/512) Fix possible dma_unmap_single() on uninitialized pointer 2025-08-28 16:21:26 +02:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 15:44:10 +02:00
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 powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-27 08:37:23 +02:00
Makefile powerpc: Fail build if using recordmcount with binutils v2.37 2023-07-27 08:37:34 +02:00
Makefile.postlink