Skip to content

Commit 2dd5caf

Browse files
committed
rust: kernel: std_vendor: clarify licensing even further
Given Linus' comments on the `alloc` patch on v6, I thought it would be a good idea to make this paragraph even more clear (i.e. that the original code was actually under "Apache-2.0 OR MIT" -- the SPDX identifier alone could be understood as "we decided to license this ourselves under Apache/MIT, but it may not be the original license"). This also makes the wording more consistent with what we have for `rust/alloc/README.md` -- they are now almost identical. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 0473a8d commit 2dd5caf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rust/kernel/std_vendor.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// SPDX-License-Identifier: Apache-2.0 OR MIT
22

3-
//! The contents of this file come from the Rust standard library, hosted in the
4-
//! <https://github.com/rust-lang/rust> repository. For copyright details, see
5-
//! <https://github.com/rust-lang/rust/blob/master/COPYRIGHT>.
3+
//! The contents of this file come from the Rust standard library, hosted in
4+
//! the <https://github.com/rust-lang/rust> repository, licensed under
5+
//! "Apache-2.0 OR MIT" and adapted for kernel use. For copyright details,
6+
//! see <https://github.com/rust-lang/rust/blob/master/COPYRIGHT>.
67
78
/// [`std::dbg`], but using [`pr_info`] instead of [`eprintln`].
89
///

0 commit comments

Comments
 (0)