Re: [PATCH 3/3] drm: drm_connector.c: Use tabs for code indents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 21, 2021 at 08:42:49PM +0100, Beatriz Martins de Carvalho wrote:
> Remove space and use tabs for indent the code to follow the
> Linux kernel coding conventions.
> Problem found by checkpatch
> 
> Signed-off-by: Beatriz Martins de Carvalho <martinsdecarvalhobeatriz@xxxxxxxxx>

Both of your patch sets applied to drm-misc-next for 5.14, thanks a lot.
-Daniel

> ---
>  drivers/gpu/drm/drm_connector.c | 38 ++++++++++++++++-----------------
>  1 file changed, 19 insertions(+), 19 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 7631f76e7f34..38600c3a6ab2 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -1958,11 +1958,11 @@ int drm_connector_set_path_property(struct drm_connector *connector,
>  	int ret;
>  
>  	ret = drm_property_replace_global_blob(dev,
> -	                                       &connector->path_blob_ptr,
> -	                                       strlen(path) + 1,
> -	                                       path,
> -	                                       &connector->base,
> -	                                       dev->mode_config.path_property);
> +					       &connector->path_blob_ptr,
> +					       strlen(path) + 1,
> +					       path,
> +					       &connector->base,
> +					       dev->mode_config.path_property);
>  	return ret;
>  }
>  EXPORT_SYMBOL(drm_connector_set_path_property);
> @@ -1988,11 +1988,11 @@ int drm_connector_set_tile_property(struct drm_connector *connector)
>  
>  	if (!connector->has_tile) {
>  		ret  = drm_property_replace_global_blob(dev,
> -		                                        &connector->tile_blob_ptr,
> -		                                        0,
> -		                                        NULL,
> -		                                        &connector->base,
> -		                                        dev->mode_config.tile_property);
> +							&connector->tile_blob_ptr,
> +							0,
> +							NULL,
> +							&connector->base,
> +							dev->mode_config.tile_property);
>  		return ret;
>  	}
>  
> @@ -2003,11 +2003,11 @@ int drm_connector_set_tile_property(struct drm_connector *connector)
>  		 connector->tile_h_size, connector->tile_v_size);
>  
>  	ret = drm_property_replace_global_blob(dev,
> -	                                       &connector->tile_blob_ptr,
> -	                                       strlen(tile) + 1,
> -	                                       tile,
> -	                                       &connector->base,
> -	                                       dev->mode_config.tile_property);
> +					       &connector->tile_blob_ptr,
> +					       strlen(tile) + 1,
> +					       tile,
> +					       &connector->base,
> +					       dev->mode_config.tile_property);
>  	return ret;
>  }
>  EXPORT_SYMBOL(drm_connector_set_tile_property);
> @@ -2076,10 +2076,10 @@ int drm_connector_update_edid_property(struct drm_connector *connector,
>  
>  	ret = drm_property_replace_global_blob(dev,
>  					       &connector->edid_blob_ptr,
> -	                                       size,
> -	                                       edid,
> -	                                       &connector->base,
> -	                                       dev->mode_config.edid_property);
> +					       size,
> +					       edid,
> +					       &connector->base,
> +					       dev->mode_config.edid_property);
>  	if (ret)
>  		return ret;
>  	return drm_connector_set_tile_property(connector);
> -- 
> 2.25.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux