Re: [PATCH] regulator: max8649: Fix NULL pointer dereference in probe

From: Mark Brown

Date: Wed Aug 26 2026 - 14:41:44 EST


On Wed, Aug 26, 2026 at 08:36:29PM +0200, Markus Elfring wrote:
>
> > Add a check and return -EINVAL when pdata is NULL.

> How do you think about to perform this data processing
> directly after the variable assignment?

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