kernel_samsung_a53x/arch/powerpc/perf
Kunwu Chan ab4e61d874 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
[ Upstream commit 0a233867a39078ebb0f575e2948593bbff5826b3 ]

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

Fixes: 885dcd709ba9 ("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-11-18 12:12:20 +01:00
..
req-gen Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8xx-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bhrb.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core-book3s.c powerpc/perf: Fix disabling BHRB and instruction sampling 2024-11-18 11:43:20 +01:00
core-fsl-emb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e500-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e6500-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic-compat-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7-catalog.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7-domains.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-24x7.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci-requests.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hv-gpci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imc-pmu.c powerpc/imc-pmu: Add a null pointer check in update_events_in_group() 2024-11-18 12:12:20 +01:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isa207-common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isa207-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc7450-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_regs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power5+-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power5-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power6-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power7-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power7-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power8-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power8-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power9-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power9-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power10-events-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power10-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppc970-pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00