From 69942c0a8965f311ed7ddf842f160c9cfdcda73a Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Mon, 24 Nov 2025 16:18:28 +0100 Subject: 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 Tested-by: Gary Guo Tested-by: Jesung Yang Link: https://patch.msgid.link/20251124151837.2184382-17-ojeda@kernel.org Signed-off-by: Miguel Ojeda --- rust/syn/expr.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/syn/expr.rs') diff --git a/rust/syn/expr.rs b/rust/syn/expr.rs index 1e49d9a6633e..deb918436604 100644 --- a/rust/syn/expr.rs +++ b/rust/syn/expr.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + use crate::attr::Attribute; #[cfg(all(feature = "parsing", feature = "full"))] use crate::error::Result; -- cgit