Re: [PATCH] rust: regulator: do not assume that regulator_get() returns non-null

From: Miguel Ojeda

Date: Tue Mar 24 2026 - 09:41:01 EST


On Tue, Mar 24, 2026 at 1:42 PM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> Sorry, this got buried in all the email I get from the list.

No worries, I didn't know if you had seen the other thread -- thanks
for quickly reviewing it!

By the way, by chance, do you have any comments on the couple other
suggestions I mentioned in the linked thread?

https://lore.kernel.org/rust-for-linux/20260322193830.89324-1-ojeda@xxxxxxxxxx/

i.e. I was trying to understand what led to the issue and how we could
avoid it again.

Thanks!

Cheers,
Miguel