Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: cleanups and clarifications #847

Merged
merged 25 commits into from Aug 1, 2022
Merged

Conversation

ojeda
Copy link
Member

@ojeda ojeda commented Aug 1, 2022

No functional changes intended (there are some minor visible changes in some user-facing messages).

ojeda added 25 commits August 1, 2022 18:48
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
In other words, the plural form, even if there is a single example.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This deals with the `checkpatch.pl` warning:

```txt
WARNING: macros should not use a trailing semicolon
+#define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym);
```

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This also makes it more consistent to the other patch we are sending.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This is intended to follow our "use Markdown for comments too"
/ "comments and docs should be easily interchangeable" guideline.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
These should have been there in the last `alloc` version upgrade.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
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>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
@ojeda
Copy link
Member Author

ojeda commented Aug 1, 2022

Thanks @alex as usual with these before-the-patches updates!

@ojeda ojeda merged commit 61104a0 into Rust-for-Linux:rust Aug 1, 2022
@ojeda ojeda deleted the cleanups branch August 1, 2022 17:59
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.

None yet

2 participants