[PATCH i-g-t] checkpatch: Ignore camelcase and igt_main()
Kamil Konieczny <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
Camelcase is used by both drm and glib and igt_main() is a macro without parameters. Both are valid usecases in igt so instruct checkpatch to ignore them in patches. Cc: Peter Senna Tschudin <[email protected]> Signed-off-by: Kamil Konieczny <[email protected]> --- .checkpatch.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.checkpatch.conf b/.checkpatch.conf index dba22494b..30935c50c 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -2,4 +2,4 @@ --strict --show-types --max-line-length=100 ---ignore=BIT_MACRO,SPLIT_STRING,LONG_LINE_STRING,BOOL_MEMBER,PREFER_KERNEL_TYPES +--ignore=BIT_MACRO,BOOL_MEMBER,CAMELCASE,FUNCTION_WITHOUT_ARGS,LONG_LINE_STRING,PREFER_KERNEL_TYPES,SPLIT_STRING -- 2.55.0