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

From: Robert P. J. Day

Date: Wed Aug 26 2026 - 15:01:14 EST


On Wed, 26 Aug 2026, Mark Brown wrote:

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

I've recently wondered how easy it would be to write a "Markus
Elfring Random Suggestion Generator".

rday