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 |
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 --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;
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(-)