diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2025-11-24 16:18:24 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2025-11-24 17:15:42 +0100 |
| commit | ddfa1b279d088edfb059b6936919faf2070fdd14 (patch) | |
| tree | 5c4c217c618cf986eb143927ee74f02124181aed /rust/quote/ext.rs | |
| parent | a4851eeef3e7cbcd89b5fd0234c04ce408a9ae81 (diff) | |
rust: quote: add SPDX License Identifiers
Originally, when the Rust upstream `alloc` standard library crate was
vendored in commit 057b8d257107 ("rust: adapt `alloc` crate to the
kernel"), the SPDX License Identifiers were added to every file so that
the license on those was clear.
Thus do the same for the `quote` crate.
This makes `scripts/spdxcheck.py` pass.
Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Gary Guo <gary@garyguo.net>
Tested-by: Jesung Yang <y.j3ms.n@gmail.com>
Link: https://patch.msgid.link/20251124151837.2184382-13-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/quote/ext.rs')
| -rw-r--r-- | rust/quote/ext.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/quote/ext.rs b/rust/quote/ext.rs index 92c2315b182d..977d2f0c5919 100644 --- a/rust/quote/ext.rs +++ b/rust/quote/ext.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + use super::ToTokens; use core::iter; use proc_macro2::{TokenStream, TokenTree}; |
