Re: [PATCH next] regulator: rt5133: Fix IS_ERR() vs NULL bug in rt5133_validate_vendor_info()

From: Mark Brown
Date: Mon Aug 18 2025 - 08:23:02 EST


On Fri, Aug 15, 2025 at 09:49:46AM +0300, Dan Carpenter wrote:
> The "priv->cdata" pointer isn't an error pointer, it should be a NULL
> check instead. Otherwise it leads to a NULL pointer dereference in the
> caller, rt5133_probe().

This doesn't apply against current code, please check and resend.

Attachment: signature.asc
Description: PGP signature