diff mbox series

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

Message ID 20200108054312.yzlj5wmbdktejgob@kili.mountain (mailing list archive)
State New, archived
Headers show
Series gpu/drm: clean up white space in drm_legacy_lock_master_cleanup() | expand

Commit Message

Dan Carpenter Jan. 8, 2020, 5:43 a.m. UTC
We moved this code to a different file and accidentally deleted a
newline.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/gpu/drm/drm_lock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Daniel Vetter Jan. 8, 2020, 6:51 p.m. UTC | #1
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@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
>
diff mbox series

Patch

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;