[PATCH v?] ASoC: mediatek: mt8365: Add check for devm_kcalloc() in mt8365_afe_suspend()

Mark Brown broonie at kernel.org
Tue Sep 23 01:03:12 PDT 2025


On Mon, Sep 22, 2025 at 05:35:35PM +0200, Markus Elfring wrote:
>> > Add a NULL check and bail out with -ENOMEM, making sure to disable the
> > main clock via the existing error path to keep clock state balanced.
> 
> How do you think about to increase the application of scope-based resource management?

Feel free to ignore Markus, he has a long history of sending
unhelpful review comments and continues to ignore repeated requests
to stop.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250923/43cc5f7f/attachment.sig>


More information about the linux-arm-kernel mailing list