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/buffer.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/syn/buffer.rs') diff --git a/rust/syn/buffer.rs b/rust/syn/buffer.rs index 7b6a504eeb7c..406f70db323c 100644 --- a/rust/syn/buffer.rs +++ b/rust/syn/buffer.rs @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + //! A stably addressed token buffer supporting efficient traversal based on a //! cheaply copyable cursor. -- cgit