diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2022-05-22 18:22:58 +0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2022-09-28 10:01:15 +0300 |
commit | d1d84b5f73888ccb9fc148dfc3cb3e15d3604d65 (patch) | |
tree | a4bfaf86284b6866efe4797c72f30fd1dc010265 /scripts/decode_stacktrace.sh | |
parent | de48fa1a01e7752135c960a20d6c3b26544a8120 (diff) | |
download | linux-d1d84b5f73888ccb9fc148dfc3cb3e15d3604d65.tar.xz |
scripts: checkpatch: enable language-independent checks for Rust
Include Rust in the "source code files" category, so that
the language-independent tests are checked for Rust too,
and teach `checkpatch` about the comment style for Rust files.
This enables the malformed SPDX check, the misplaced SPDX license
tag check, the long line checks, the lines without a newline check
and the embedded filename check.
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com>
Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-developed-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions