diff options
| author | Gary Guo <gary@garyguo.net> | 2026-10-06 17:29:34 +0200 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-10-07 12:52:27 +0200 |
| commit | 003a8953d2f1c310550ac477a508b7be910b9827 (patch) | |
| tree | ef61aa82eb54f3121c421cd0a665010fd4aeec1e /tools/lib/python | |
| parent | 25e82b177c8bad26509e1e989795f63ef08e9dc5 (diff) | |
| download | linux-next-003a8953d2f1c310550ac477a508b7be910b9827.tar.gz linux-next-003a8953d2f1c310550ac477a508b7be910b9827.zip | |
rust: pin-init: internal: add utility for extract a single attribute
More attributes are to be added which has the requirement that they should
only be specified once. Add a utility code to extract attributes for a
specific path and report error when appeared multiple times.
Convert `#[pin]` parsing to use the added utility.
Acked-by: Benno Lossin <lossin@kernel.org>
Link: https://patch.msgid.link/20261006-dev-selfref-dep-v1-4-da716f740d6d@garyguo.net
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
