On Wed, 2024-10-23 at 11:35 +0300, Dan Carpenter wrote:
>
> The syscon_regmap_lookup_by_compatible() function returns -ENODEV if
> there isn't a compatible for it or other error pointers on error. This
> code only checks for -ENODEV instead of checking for other errors so it
> could lead to an er
The syscon_regmap_lookup_by_compatible() function returns -ENODEV if
there isn't a compatible for it or other error pointers on error. This
code only checks for -ENODEV instead of checking for other errors so it
could lead to an error pointer dereference inside the regmap_update_bits()
function.