[PATCH] gpu/drm: clean up white space in drm_legacy_lock_master_cleanup()

Daniel Vetter daniel at ffwll.ch
Wed Jan 8 18:51:25 UTC 2020


On Wed, Jan 08, 2020 at 08:43:12AM +0300, Dan Carpenter wrote:
> We moved this code to a different file and accidentally deleted a
> newline.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Oops, thanks for catching, patch applied!
-Daniel

> ---
>  drivers/gpu/drm/drm_lock.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_lock.c b/drivers/gpu/drm/drm_lock.c
> index 2e8ce99d0baa..2c79e8199e3c 100644
> --- a/drivers/gpu/drm/drm_lock.c
> +++ b/drivers/gpu/drm/drm_lock.c
> @@ -360,7 +360,8 @@ void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *m
>  	/*
>  	 * Since the master is disappearing, so is the
>  	 * possibility to lock.
> -	 */	mutex_lock(&dev->struct_mutex);
> +	 */
> +	mutex_lock(&dev->struct_mutex);
>  	if (master->lock.hw_lock) {
>  		if (dev->sigdata.lock == master->lock.hw_lock)
>  			dev->sigdata.lock = NULL;
> -- 
> 2.11.0
> 

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


More information about the dri-devel mailing list