]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: proc-macro2: add SPDX License Identifiers
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 15:18:19 +0000 (16:18 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 16:15:39 +0000 (17:15 +0100)
commita9acfceb9614f18d799c135bbb225bd0f55a81ab
tree27fcbe6669cddd88433620740b4d61f4096f43c7
parent3a8b546a2786e54fbfff4d368ae45e65e1e43d21
rust: proc-macro2: 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 `proc-macro2` 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-8-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
13 files changed:
rust/proc-macro2/detection.rs
rust/proc-macro2/extra.rs
rust/proc-macro2/fallback.rs
rust/proc-macro2/lib.rs
rust/proc-macro2/location.rs
rust/proc-macro2/marker.rs
rust/proc-macro2/parse.rs
rust/proc-macro2/probe.rs
rust/proc-macro2/probe/proc_macro_span.rs
rust/proc-macro2/probe/proc_macro_span_file.rs
rust/proc-macro2/probe/proc_macro_span_location.rs
rust/proc-macro2/rcvec.rs
rust/proc-macro2/wrapper.rs