Re: [PATCH] Fix possible NULL Pointer Dereference in 'asoc_qcom_lpass_cpu_platform_probe'

From: Mark Brown
Date: Mon Sep 30 2024 - 14:17:46 EST


On Mon, Sep 30, 2024 at 06:33:49PM +0200, Markus Elfring wrote:

> How do you think about a wording variant like the following?

> The result from a call of the function “devm_kzalloc” was passed to
> a subsequent function call without checking for a null pointer before
> (according to a memory allocation failure).
> Thus return directly after a failed devm_kzalloc() call.

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