From 461ef6cea5225ec252293216011d070d65626ea0 Mon Sep 17 00:00:00 2001 From: dbrotz <43593771+dbrotz@users.noreply.github.com> Date: Thu, 29 Aug 2019 22:48:16 -0700 Subject: [PATCH] Don't complain about initializing statics This error is specific to the way the Linux kernel handles statics. It does not apply to userspace programs. --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index d7a38c4a..1154eff1 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -70,3 +70,6 @@ # Don't complain when bools are used in structs --ignore BOOL_MEMBER + +# Don't complain about initializing statics (this is specific to the kernel) +--ignore INITIALISED_STATIC