Re: [PATCH v2 1/3] rust: pci: provide access to PCI Class, subclass, implementation values

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

 



On Wed, Aug 20, 2025 at 5:48 AM Elle Rhumsaa <elle@xxxxxxxxxxxxxxxxxxx> wrote:
>
> All of the functions could probably be `#[inline]`ed, though I'm not
> sure how much it affects the `const` functions, since they're already
> evaluated at compile-time.

I don't think that is guaranteed unless called from a const context.

Cheers,
Miguel





[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