linux/arch
Kunwu Chan a2da3f9b1a powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
[ Upstream commit 0a233867a3 ]

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.

Fixes: 885dcd709b ("powerpc/perf: Add nest IMC PMU support")
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231126093719.1440305-1-chentao@kylinos.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:19 -08:00
..
alpha
arc ARC: fix spare error 2024-01-20 11:50:08 +01:00
arm ARM: sun9i: smp: fix return code check of of_property_match_string 2024-01-20 11:50:09 +01:00
arm64 arm64: dts: rockchip: Fix PCI node addresses on rk3399-gru 2024-01-20 11:50:06 +01:00
csky
hexagon
ia64
loongarch LoongArch: Preserve syscall nr across execve() 2024-01-20 11:50:06 +01:00
m68k m68k: Fix invalid .section syntax 2023-09-13 09:42:21 +02:00
microblaze
mips MIPS: dts: loongson: drop incorrect dwmac fallback compatible 2024-01-20 11:50:07 +01:00
nios2
openrisc
parisc parisc: Fix asm operand number out of range build error in bug table 2023-12-13 18:39:24 +01:00
powerpc powerpc/imc-pmu: Add a null pointer check in update_events_in_group() 2024-01-25 15:27:19 -08:00
riscv RISC-V: Fix do_notify_resume / do_work_pending prototype 2024-01-01 12:39:05 +00:00
s390 s390/cpumf: support user space events for counting 2024-01-10 17:10:30 +01:00
sh sh: bios: Revive earlyprintk support 2023-11-20 11:52:07 +01:00
sparc sparc32: fix a braino in fault handling in csum_and_copy_..._user() 2023-11-02 09:35:32 +01:00
um um: Fix hostaudio build errors 2023-09-13 09:42:58 +02:00
x86 x86/mce/inject: Clear test status value 2024-01-25 15:27:18 -08:00
xtensa xtensa: boot/lib: fix function prototypes 2023-10-06 14:56:49 +02:00
.gitignore
Kconfig cpu/SMT: Create topology_smt_thread_allowed() 2024-01-10 17:10:26 +01:00