Skip to content

Add mailmap and relicense internal/zeroable.rs & .clippy.toml#137

Open
BennoLossin wants to merge 4 commits intomainfrom
dev/relicense
Open

Add mailmap and relicense internal/zeroable.rs & .clippy.toml#137
BennoLossin wants to merge 4 commits intomainfrom
dev/relicense

Conversation

@BennoLossin
Copy link
Copy Markdown
Member

Cc @ojeda and @bonzini for the license change in .clippy.toml

Signed-off-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Benno Lossin <lossin@kernel.org>
The pin-init crate has been licensed under `Apache-2.0 OR MIT` since the
beginning. This file was introduced in [1] with the GPL-2.0 SPDX
identifier. I am the sole author of the file [2, 3] and relicensing it
under the above license.

Signed-off-by: Benno Lossin <lossin@kernel.org>
Link: 6478ece [1]
Link: https://github.com/Rust-for-Linux/pin-init/commits/main/internal/src/zeroable.rs [2]
Link: https://github.com/Rust-for-Linux/pin-init/commits/9153ca18d1e939d5a4790458046bf371f803801e/pinned-init-macro/src/zeroable.rs?browsing_rename_history=true&new_path=internal/src/zeroable.rs&original_branch=main [3]
@BennoLossin BennoLossin requested a review from nbdd0121 April 27, 2026 07:37
@bonzini
Copy link
Copy Markdown
Contributor

bonzini commented Apr 27, 2026

Acked-by: Paolo Bonzini: <pbonzini@redhat.com>

The pin-init crate has been licensed under `Apache-2.0 OR MIT` since the
beginning. This file was introduced through a cherry pick [1, 2] of a
kernel change [3] with the GPL-2.0 SPDX identifier. We did not catch
this in review, so relicense the file now. Miguel is the original author
and has agreed to the relicense.

Link: cc3d5ce [1]
Link: #25 [2]
Link: Rust-for-Linux/linux@624063b [3]
Cc: Miguel Ojeda <ojeda@kernel.org>
Acked-by: Paolo Bonzini: <pbonzini@redhat.com>
Signed-off-by: Benno Lossin <lossin@kernel.org>
@nbdd0121
Copy link
Copy Markdown
Member

nbdd0121 commented Apr 27, 2026

Commits should be referenced with commit <hash> ("name")

The 3rd commit could also be reworded slightly:

The pin-init crate has been licensed under `Apache-2.0 OR MIT` since the
beginning. I introduced in commit 6478ecef7ab6 ("add `Zeroable` derive macro")
`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.

(I think there don't need to be a GitHub link, a claim is sufficient, those who want to verify can use git log --follow)

@ojeda
Copy link
Copy Markdown
Member

ojeda commented Apr 27, 2026

Acked-by: Miguel Ojeda <ojeda@kernel.org>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants