Re: [PATCH v7 2/6] rust: irq: add flags module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 16, 2025 at 4:20 PM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> Alice,
>
> […]
>
> > +
> > +    const fn new(value: u32) -> Self {
> > +        build_assert!(value as u64 <= c_ulong::MAX as u64);
> > +        Self(value as c_ulong)
> > +    }
> > +}
>
> Sanity check here, is this what you meant?

That's fine.





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux