[PATCH] dim: encourage BIT() macro use in i915 checkpatch

Jani Nikula jani.nikula at intel.com
Wed Jun 27 14:44:58 UTC 2018


Already used here and there, embrace it.

References: http://patchwork.freedesktop.org/patch/msgid/20180627144113.6989-1-jani.nikula@intel.com
Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index e477d043458b..078dd4bcee13 100755
--- a/dim
+++ b/dim
@@ -1479,7 +1479,7 @@ function checkpatch_commit
 			profile_options=""
 			;;
 		drm-intel)
-			profile_options="--max-line-length=100 --ignore=BIT_MACRO,PREFER_KERNEL_TYPES,SPLIT_STRING,LONG_LINE_STRING"
+			profile_options="--max-line-length=100 --ignore=PREFER_KERNEL_TYPES,SPLIT_STRING,LONG_LINE_STRING"
 			;;
 		*)
 			echoerr "Unknown checkpatch profile $profile"
-- 
2.11.0



More information about the dim-tools mailing list