[Intel-gfx] [PATCH 08/13] drm/i915/connector: use MISSING_CASE instead of logging

Daniel Vetter daniel at ffwll.ch
Wed Mar 25 08:52:54 UTC 2020


On Fri, Mar 20, 2020 at 04:36:33PM +0200, Jani Nikula wrote:
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

> ---
>  drivers/gpu/drm/i915/display/intel_connector.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_connector.c b/drivers/gpu/drm/i915/display/intel_connector.c
> index 903e49659f56..98ec2ea86c7c 100644
> --- a/drivers/gpu/drm/i915/display/intel_connector.c
> +++ b/drivers/gpu/drm/i915/display/intel_connector.c
> @@ -290,7 +290,7 @@ intel_attach_colorspace_property(struct drm_connector *connector)
>  			return;
>  		break;
>  	default:
> -		DRM_DEBUG_KMS("Colorspace property not supported\n");
> +		MISSING_CASE(connector->connector_type);
>  		return;
>  	}
>  
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list