diff options
| author | Miguel Ojeda <[email protected]> | 2025-03-24 21:03:54 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-05-25 20:58:35 +0000 |
| commit | 1dbaf8b1bafb8557904eb54b98bb323a3061dd2c (patch) | |
| tree | 35a41d9da8a3242b5f01fcae76bcfd99c3dc0a12 /scripts/generate_rust_analyzer.py | |
| parent | rust: alloc: add missing Markdown code span (diff) | |
| download | kernel-1dbaf8b1bafb8557904eb54b98bb323a3061dd2c.tar.gz kernel-1dbaf8b1bafb8557904eb54b98bb323a3061dd2c.zip | |
rust: pci: fix docs related to missing Markdown code spans
In particular:
- Add missing Markdown code spans.
- Improve title for `DeviceId`, adding a link to the struct in the
C side, rather than referring to `bindings::`.
- Convert `TODO` from documentation to a normal comment, and put code
in block.
This was found using the Clippy `doc_markdown` lint, which we may want
to enable.
Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions")
Reviewed-by: Benno Lossin <[email protected]>
Acked-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Prefixed link text with `struct`. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
