5 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: dda49a0a5b
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-08-06 14:18:46 +02:00
Miguel Ojeda
6919bb798d
Merge pull request #1 from seannash/main
rename KernelModule to kernel::Module
2022-05-05 00:13:27 +02:00
Sean Nash
44c8594a77 Rename KernelModule to kernel::Module
Signed-off-by: Sean Nash <sean.c.nash@gmail.com>
2022-05-01 09:54:12 -04: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