2020-06-22 17:20:22

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [PATCH V2] checkpatch: Add configuration for checkpatch

From: Tedd Ho-Jeong An <[email protected]>

This patch adds a configuration with basic rules for checkpatch.
---
.checkpatch.conf | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 .checkpatch.conf

diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 000000000..419733832
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,14 @@
+--no-tree
+--no-signoff
+--summary-file
+--show-types
+--max-line-length=80
+
+--ignore COMPLEX_MACRO
+--ignore SPLIT_STRING
+--ignore CONST_STRUCT
+--ignore FILE_PATH_CHANGES
+--ignore MISSING_SIGN_OFF
+--ignore PREFER_PACKED
+--ignore COMMIT_MESSAGE
+--ignore SSCANF_TO_KSTRTO
--
2.25.4


2020-06-22 19:29:28

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH V2] checkpatch: Add configuration for checkpatch

Hi Tedd,

On Mon, Jun 22, 2020 at 10:22 AM <[email protected]> wrote:
>
> From: Tedd Ho-Jeong An <[email protected]>
>
> This patch adds a configuration with basic rules for checkpatch.
> ---
> .checkpatch.conf | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 .checkpatch.conf
>
> diff --git a/.checkpatch.conf b/.checkpatch.conf
> new file mode 100644
> index 000000000..419733832
> --- /dev/null
> +++ b/.checkpatch.conf
> @@ -0,0 +1,14 @@
> +--no-tree
> +--no-signoff
> +--summary-file
> +--show-types
> +--max-line-length=80
> +
> +--ignore COMPLEX_MACRO
> +--ignore SPLIT_STRING
> +--ignore CONST_STRUCT
> +--ignore FILE_PATH_CHANGES
> +--ignore MISSING_SIGN_OFF
> +--ignore PREFER_PACKED
> +--ignore COMMIT_MESSAGE
> +--ignore SSCANF_TO_KSTRTO
> --
> 2.25.4

Applied, thanks.

--
Luiz Augusto von Dentz