Skip to content

Commit e22f8fe

Browse files
committed
rust_out_of_tree: use GPL as the license string instead of GPL v2
See commit dda49a0a5bb6 ("treewide: use `GPL` as the license string instead of `GPL v2`") in the main repository: Since commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity"), Documentation/process/license-rules.rst explains that `MODULE_LICENSE` arguments can simply use `GPL` instead of `GPL v2`, because it is not meant to replace the proper licensing information. Since the `license:` field of the `module!` macro is the same as `MODULE_LICENSE`, use the simpler form in Rust too. Link: Rust-for-Linux/linux@dda49a0 Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 6919bb7 commit e22f8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust_out_of_tree.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module! {
99
name: b"rust_out_of_tree",
1010
author: b"Rust for Linux Contributors",
1111
description: b"Rust out-of-tree sample",
12-
license: b"GPL v2",
12+
license: b"GPL",
1313
}
1414

1515
struct RustOutOfTree {

0 commit comments

Comments
 (0)