Re: [PATCH] ASoC: Intel: avs: Add NULL check in avs_component_probe()
From: Mark Brown
Date: Wed Apr 02 2025 - 10:16:41 EST
On Wed, Apr 02, 2025 at 02:00:31PM +0200, Markus Elfring wrote:
> > devm_kasprintf() returns NULL when memory allocation fails. Currently,
> …
> call? failed?
>
>
> > Add NULL check after devm_kasprintf() to prevent this issue.
>
> Do you generally propose here to improve the error handling?
Feel free to ignore Markus, he has a long history of sending
unhelpful review comments and continues to ignore repeated requests
to stop.
Attachment:
signature.asc
Description: PGP signature