Kunwu Chan 5a669f3511 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-01-25 14:37:40 -08:00
..
2024-01-25 14:37:38 -08:00
2023-09-19 12:20:04 +02:00
2023-02-01 08:23:19 +01:00
2023-11-20 11:06:51 +01:00
2023-09-19 12:20:20 +02:00
2023-08-08 19:57:36 +02:00