diff options
author | Danilo Krummrich <dakr@kernel.org> | 2025-03-07 01:23:28 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-03-09 21:21:08 +0300 |
commit | ef476b0dd9ddfdc34a455408651e7c7bd20b4efe (patch) | |
tree | 56341a5347f2029b5557cdd7a98d8454d6a78c0b /tools/perf/scripts/python/syscall-counts.py | |
parent | d4245284c8c915107f003a15a20b9abfd40be3ff (diff) | |
download | linux-ef476b0dd9ddfdc34a455408651e7c7bd20b4efe.tar.xz |
rust: firmware: introduce `firmware::ModInfoBuilder`
The `firmware` field of the `module!` only accepts literal strings,
which is due to the fact that it is implemented as a proc macro.
Some drivers require a lot of firmware files (such as nova-core) and
hence benefit from more flexibility composing firmware path strings.
The `firmware::ModInfoBuilder` is a helper component to flexibly compose
firmware path strings for the .modinfo section in const context.
It is meant to be used in combination with `kernel::module_firmware!`.
Co-developed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250306222336.23482-3-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions