* Re: [PATCH 3/5] hwmon: (pmbus/core) Protect regulator operations with mutex
[not found] <20260325181631.17259-4-linux@roeck-us.net>
@ 2026-03-25 19:05 ` Pradhan, Sanman
2026-03-25 20:02 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Pradhan, Sanman @ 2026-03-25 19:05 UTC (permalink / raw)
To: linux; +Cc: linux-hwmon, linux-kernel, Sanman Pradhan
From: Sanman Pradhan <psanman@juniper.net>
Reviewed the series.
Very minor hardening thought: the notifier worker is
initialized after the devm_regulator_register() loop.
The current probe ordering makes that fine, so I don't
think this is a bug, but would it be cleaner to initialize
the notifier state a bit earlier just to keep that
setup self-contained?
Don't see any blocking issues in the rest of the series.
Thank you.
Regards,
Sanman Pradhan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/5] hwmon: (pmbus/core) Protect regulator operations with mutex
2026-03-25 19:05 ` [PATCH 3/5] hwmon: (pmbus/core) Protect regulator operations with mutex Pradhan, Sanman
@ 2026-03-25 20:02 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2026-03-25 20:02 UTC (permalink / raw)
To: Pradhan, Sanman; +Cc: linux-hwmon, linux-kernel, Sanman Pradhan
Hi,
On 3/25/26 12:05, Pradhan, Sanman wrote:
> From: Sanman Pradhan <psanman@juniper.net>
>
> Reviewed the series.
>
> Very minor hardening thought: the notifier worker is
> initialized after the devm_regulator_register() loop.
>
> The current probe ordering makes that fine, so I don't
> think this is a bug, but would it be cleaner to initialize
> the notifier state a bit earlier just to keep that
> setup self-contained?
>
The interrupt handler is installed after registering the regulator,
so I don't think that is a problem since the regulator notifier
is called from the interrupt handler.
> Don't see any blocking issues in the rest of the series.
>
Thanks a lot for the review and feedback. Surprisingly, Sashiko did not
find anything either:
https://sashiko.dev/#/patchset/20260325181631.17259-1-linux%40roeck-us.net
If you don't mind, please send me a formal Reviewed-by: tag for the series
or for individual patches.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-25 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20260325181631.17259-4-linux@roeck-us.net>
2026-03-25 19:05 ` [PATCH 3/5] hwmon: (pmbus/core) Protect regulator operations with mutex Pradhan, Sanman
2026-03-25 20:02 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®