[PATCH] drm/amd/display: indent an if statement

Harry Wentland harry.wentland at amd.com
Tue Aug 21 18:51:19 UTC 2018


On 2018-08-14 05:09 AM, Dan Carpenter wrote:
> The if statement isn't indented and it makes static checkers complain.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> index 4ca41d6e3bcf..d82ba58c720f 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
> @@ -349,7 +349,7 @@ static bool is_dp_and_hdmi_sharable(
>  
>  	if (stream1->clamping.c_depth != COLOR_DEPTH_888 ||
>  	    stream2->clamping.c_depth != COLOR_DEPTH_888)
> -	return false;
> +		return false;
>  
>  	return true;
>  
> 


More information about the amd-gfx mailing list