summaryrefslogtreecommitdiff
path: root/rust/quote/lib.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-11-24 18:18:24 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-11-24 19:15:42 +0300
commitddfa1b279d088edfb059b6936919faf2070fdd14 (patch)
tree5c4c217c618cf986eb143927ee74f02124181aed /rust/quote/lib.rs
parenta4851eeef3e7cbcd89b5fd0234c04ce408a9ae81 (diff)
downloadlinux-ddfa1b279d088edfb059b6936919faf2070fdd14.tar.xz
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/lib.rs')
-rw-r--r--rust/quote/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/quote/lib.rs b/rust/quote/lib.rs
index 0a12d607f279..cc1637660a75 100644
--- a/rust/quote/lib.rs
+++ b/rust/quote/lib.rs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
//! [![github]](https://github.com/dtolnay/quote)&ensp;[![crates-io]](https://crates.io/crates/quote)&ensp;[![docs-rs]](https://docs.rs/quote)
//!
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github