diff options
| author | Gary Guo <gary@garyguo.net> | 2026-08-11 14:55:57 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-02 21:05:02 +0200 |
| commit | a4082121eeb5caa7704734184aa24199e83e19bb (patch) | |
| tree | 5d8a5b73d7cded1a33f46caec8c566df259fee48 /tools/lib/python/kdoc/python_version.py | |
| parent | a52a7596c376ac7bce5a5322c526d96e2780ad17 (diff) | |
| download | linux-next-a4082121eeb5caa7704734184aa24199e83e19bb.tar.gz linux-next-a4082121eeb5caa7704734184aa24199e83e19bb.zip | |
rust: miscdevice: use `#[optional]` attribute of `#[vtable]` macro
Replace the `build_error!(VTABLE_DEFAULT_ERROR)` boilerplate with the
`#[optional]` attribute.
Signed-off-by: Gary Guo <gary@garyguo.net>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260811-vtable_macro-v1-3-50c5aab3c211@garyguo.net
[ Reworded title for prefix. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
