Re: [PATCH v2 04/12] regulator/core: regulator_bulk_get: remove redundant NULL stores

From: Mark Brown
Date: Mon Apr 29 2024 - 12:01:52 EST


On Mon, Apr 29, 2024 at 04:45:28PM +0200, Michał Mirosław wrote:
> On error, callers of regulator_bulk_get() pass the error up and don't
> use the pointers in consumers[]. The function is documented to release
> all regulators if any request fails.

This doesn't seem good from a robustness point of view and should be
nowhere near a fast path.

Attachment: signature.asc
Description: PGP signature