Re: fpga: dfl: fme: Return directly after a failed devm_kasprintf() call in fme_perf_pmu_register()

From: Markus Elfring
Date: Wed Jan 31 2024 - 02:51:47 EST


> The check is right before that on line 11527.
>
> https://elixir.bootlin.com/linux/v6.8-rc2/source/kernel/events/core.c#L11527

Do you find a warning message like “Can not register anonymous pmu” acceptable
in addition to eventual other indications for memory allocation failures so far?

Regards,
Markus