[ovs-dev] [PATCH] checkpatch: Ignore utitilies/bugtool.

Gregory Rose gvrose8192 at gmail.com
Mon Sep 16 16:35:48 UTC 2019


On 9/12/2019 11:11 AM, William Tu wrote:
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
>   utilities/checkpatch.py | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
> index f8fa00e306a8..a9f27b52f3c8 100755
> --- a/utilities/checkpatch.py
> +++ b/utilities/checkpatch.py
> @@ -844,6 +844,8 @@ def ovs_checkpatch_parse(text, filename, author=None, committer=None):
>               # for a common style.
>               if current_file.startswith('include/sparse'):
>                   continue
> +            if current_file.startswith('utilities/bugtool'):
> +                continue
>               run_checks(current_file, cmp_line, lineno)
>   
>       run_file_checks(text)

Seems fine to me.

Reviewed-by: Greg Rose <gvrose8192 at gmail.com>


More information about the dev mailing list