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

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Jun 28 05:04:37 UTC 2018


On Wed, Jun 27, 2018 at 05:44:58PM +0300, Jani Nikula wrote:
> 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>

Acked-by: Rodrigo Vivi <rodrigo.vivi 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
> 
> _______________________________________________
> dim-tools mailing list
> dim-tools at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools


More information about the dim-tools mailing list