[PATCH v6 2/5] rust: pci: provide access to PCI Vendor values

Danilo Krummrich dakr at kernel.org
Tue Aug 26 21:00:53 UTC 2025


On 8/26/25 10:58 PM, John Hubbard wrote:
> I have no idea "where appropriate" is, here. These are not hot paths, and
> the existing pci.rs methods such as Device::vendor_id() are not inlined,
> and so my initial approach is to just not inline any of this...

I think we can inline those functions that only consist out of a single 
constructor (i.e. Self {...}) or a single function call either way.


More information about the Nouveau mailing list