]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rust: pin-init: internal: adjust license identifier of `zeroable.rs`
authorBenno Lossin <lossin@kernel.org>
Tue, 28 Apr 2026 13:10:56 +0000 (14:10 +0100)
committerGary Guo <gary@garyguo.net>
Sun, 10 May 2026 21:58:34 +0000 (22:58 +0100)
The pin-init crate has been licensed under `Apache-2.0 OR MIT` since the
beginning. I introduced in commit 071cedc84e90 ("rust: add derive macro for
`Zeroable`") `zeroable.rs` with incompatible GPL-2.0 SPDX identifier. The
file has not been modified by other authors, so relicense it under the
above license.

Signed-off-by: Benno Lossin <lossin@kernel.org>
[ Reworded commit message - Gary ]
Link: https://patch.msgid.link/20260428-pin-init-sync-v1-7-07f9bd3859fb@garyguo.net
Signed-off-by: Gary Guo <gary@garyguo.net>
rust/pin-init/internal/src/zeroable.rs

index 05683319b0f7b251efbaad6b0c44755a0fa3ca7e..b11feaeb1ca6e1e6245bd34f2c26bebc9c6020f4 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: Apache-2.0 OR MIT
 
 use proc_macro2::TokenStream;
 use quote::quote;