Re: Fix possible NULL Pointer Dereference in 'asoc_qcom_lpass_cpu_platform_probe'

From: Markus Elfring
Date: Tue Oct 01 2024 - 01:31:24 EST


>> 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.

30 non-merge commits were published with related subjects so far.
Can you get a more constructive view from parts of public software development history?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v6.12-rc1&qt=grep&q=Return+directly+after+a+failed

Regards,
Markus