From 58556f91f7cf0d822ca0b4c84046bd5b00e2e78f Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Mon, 18 Nov 2019 12:45:38 +0100 Subject: [PATCH] Disable chcecking for global initialisers This is specific to the kernel and does not apply to us --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 1154eff1..2911c2c4 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -43,6 +43,9 @@ # Do not check the format of commit messages --ignore GIT_COMMIT_ID +# Do not check for global initializers (this is specific to the kernel) +--ignore GLOBAL_INITIALISERS + # We don't have a MAINTAINERS file, don't complain about it. --ignore FILE_PATH_CHANGES