Re: [PATCH v2] rust: bitmap: document panics in `next_bit` and `next_zero_bit`
From: Miguel Ojeda
Date: Tue Sep 01 2026 - 11:18:19 EST
On Tue, Sep 1, 2026 at 5:09 PM George Androutsopoulos
<georgeandrout13@xxxxxxxxx> wrote:
>
> These are public `kernel` crate functions intended for driver authors,
> and nothing in their documentation indicated they could panic.
I tend to agree, especially since we have treated even documentation
typos (and especially so if they are public items, i.e. rendered in
the actual docs) as fixes before (not typos on mere comments, of
course).
But it is also reasonable to say they aren't, since they don't affect
the end user (directly, at least).
Either way, it sounds OK :) Bitmap will decide when they pick it up
(unless they want me to take it -- I will be sending a rust-fixes PR
anyway, so I could).
Thanks!
Cheers,
Miguel