diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2025-11-24 18:18:28 +0300 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2025-11-24 19:15:45 +0300 |
| commit | 69942c0a8965f311ed7ddf842f160c9cfdcda73a (patch) | |
| tree | 26b6004e4a93ecf10efbc9cfeb0879c66b015c8e /rust/syn/lit.rs | |
| parent | 808c999fc9e7c366fd47da564e69d579c1dc8279 (diff) | |
| download | linux-69942c0a8965f311ed7ddf842f160c9cfdcda73a.tar.xz | |
rust: syn: 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 `syn` 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-17-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/syn/lit.rs')
| -rw-r--r-- | rust/syn/lit.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/syn/lit.rs b/rust/syn/lit.rs index 45c26d56fed3..1d2d8bdccfb1 100644 --- a/rust/syn/lit.rs +++ b/rust/syn/lit.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + #[cfg(feature = "parsing")] use crate::lookahead; #[cfg(feature = "parsing")] |
