[PATCH i-g-t] .checkpatch.conf: Add checkpatch.pl defaults for IGT
Kamil Konieczny
kamil.konieczny at linux.intel.com
Fri Jul 11 09:30:34 UTC 2025
Hi Peter,
On 2025-07-10 at 20:16:13 +0200, Peter Senna Tschudin wrote:
small nit about subject, no need for resend, now it reads:
[PATCH i-g-t] .checkpatch.conf: Add checkpatch.pl defaults for IGT
imho it could be shorter, like:
[PATCH i-g-t] checkpatch.conf: Add defaults for IGT
Note dropping first dot and dropping script name, as it
is described in commit message and also as a first word.
> CONTRIBUTING.md contains instruction on how to use Linux kernel'
> checkpatch.pl, including command line arguments for the tool.
>
> As IGT maintainers use these options, let's standardize it in a
> configuration file so that everyone using checkpatch.pl from IGT's
> source code will use the same options.
>
> Signed-off-by: Peter Senna Tschudin <peter.senna at linux.intel.com>
I tested it and it work as expected, thank you for taking care of it,
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> .checkpatch.conf | 6 ++++++
> 1 file changed, 6 insertions(+)
> create mode 100644 .checkpatch.conf
>
> diff --git a/.checkpatch.conf b/.checkpatch.conf
> new file mode 100644
> index 000000000..eac25592f
> --- /dev/null
> +++ b/.checkpatch.conf
> @@ -0,0 +1,6 @@
> +--emacs
> +--strict
> +--show-types
> +--max-line-length=100
> +--ignore=BIT_MACRO,SPLIT_STRING,LONG_LINE_STRING,BOOL_MEMBER,PREFER_KERNEL_TYPES
> +
> --
> 2.43.0
>
More information about the igt-dev
mailing list