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

From: Markus Elfring

Date: Wed Aug 26 2026 - 14:37:03 EST



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

Regards,
Markus