]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: pci: inline several tiny functions
authorJohn Hubbard <jhubbard@nvidia.com>
Fri, 29 Aug 2025 22:36:32 +0000 (15:36 -0700)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 1 Sep 2025 18:29:08 +0000 (20:29 +0200)
commit7bb02685fb5aa8f97568a2beb568a15c5c544454
tree26351a1be2b3f047b63252989efcde836d1ab815
parent1b8ac37677d307cd0fc10f6bf9bceae2c282bdb4
rust: pci: inline several tiny functions

Several previous commits added Vendor and Class functionality. As part
of that, the new functions were inlined where appropriate. But that left
this file with inconsistent use of inlining. Fix that by inlining the
remaining items that should be.

Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Elle Rhumsaa <elle@weathered-steel.dev>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://lore.kernel.org/r/20250829223632.144030-7-jhubbard@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/pci.rs