Commit Graph
3 Commits
Author SHA1 Message Date
Miguel Ojeda e22f8fe803 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: https://github.com/Rust-for-Linux/linux/commit/dda49a0a5bb6ec6cf6703265da020dfac966313c
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-08-06 14:18:46 +02:00
Miguel Ojeda c53324dd9a Remove no_std and feature(...) crate attributes
Since PR https://github.com/Rust-for-Linux/linux/pull/635 ("rust:
avoid the need of crate attributes in kernel modules") in the main
repository, these attributes are handled by the build system, thus
there is no need (and it is an error) to specify them.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-02-09 00:43:23 +01:00
Miguel Ojeda 6f1b54e2dc Initial commit
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2021-12-22 21:46:30 +01:00