Re: [PATCH v2 3/3] rust: bitmap: kunit: uncomment owned_bitmap_out_of_bounds panic case
From: Miguel Ojeda
Date: Sun Nov 08 2026 - 14:59:37 EST
On Thu, Oct 29, 2026 at 5:59 PM Nicolás Antinori via B4 Relay
<devnull+nico.antinori.7.gmail.com@xxxxxxxxxx> wrote:
>
> - #[test]
> #[cfg(not(CONFIG_RUST_BITMAP_HARDENED))]
> + #[test]
Is this one done to match the other? If so, please mention it in the
commit message, and consider whether the last test in the file should
also be changed then.
(We could do it in a separate, previous commit, but that is nit :)
> let mut b = BitmapVec::new(128, GFP_KERNEL)?;
> -
> b.set_bit(2048);
Spurious change?
> + #[should_panic]
It is great to have this, thanks! :)
Cheers,
Miguel