diff mbox

[RFC,v2,2/8] drm/ioctl: Remove trailing whitespace

Message ID 20180103222110.45855-3-noralf@tronnes.org (mailing list archive)
State New, archived
Headers show

Commit Message

Noralf Trønnes Jan. 3, 2018, 10:21 p.m. UTC
Remove a couple of trailing spaces.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
---
 drivers/gpu/drm/drm_ioctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Vetter Jan. 9, 2018, 10:18 a.m. UTC | #1
On Wed, Jan 03, 2018 at 11:21:04PM +0100, Noralf Trønnes wrote:
> Remove a couple of trailing spaces.
> 
> Signed-off-by: Noralf Trønnes <noralf@tronnes.org>

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

> ---
>  drivers/gpu/drm/drm_ioctl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c
> index 4aafe4802099..b1e96fb68ea8 100644
> --- a/drivers/gpu/drm/drm_ioctl.c
> +++ b/drivers/gpu/drm/drm_ioctl.c
> @@ -509,7 +509,7 @@ int drm_ioctl_permit(u32 flags, struct drm_file *file_priv)
>  		return -EACCES;
>  
>  	/* MASTER is only for master or control clients */
> -	if (unlikely((flags & DRM_MASTER) && 
> +	if (unlikely((flags & DRM_MASTER) &&
>  		     !drm_is_current_master(file_priv) &&
>  		     !drm_is_control_client(file_priv)))
>  		return -EACCES;
> @@ -704,7 +704,7 @@ static const struct drm_ioctl_desc drm_ioctls[] = {
>   *
>   *     ##define DRM_IOCTL_MY_DRIVER_OPERATION \
>   *         DRM_IOW(DRM_COMMAND_BASE, struct my_driver_operation)
> - * 
> + *
>   * DRM driver private IOCTL must be in the range from DRM_COMMAND_BASE to
>   * DRM_COMMAND_END. Finally you need an array of &struct drm_ioctl_desc to wire
>   * up the handlers and set the access rights::
> -- 
> 2.14.2
>
Laurent Pinchart Jan. 9, 2018, 2:49 p.m. UTC | #2
Hi Noralf,

Thank you for the patch.

On Thursday, 4 January 2018 00:21:04 EET Noralf Trønnes wrote:
> Remove a couple of trailing spaces.
> 
> Signed-off-by: Noralf Trønnes <noralf@tronnes.org>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/gpu/drm/drm_ioctl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c
> index 4aafe4802099..b1e96fb68ea8 100644
> --- a/drivers/gpu/drm/drm_ioctl.c
> +++ b/drivers/gpu/drm/drm_ioctl.c
> @@ -509,7 +509,7 @@ int drm_ioctl_permit(u32 flags, struct drm_file
> *file_priv) return -EACCES;
> 
>  	/* MASTER is only for master or control clients */
> -	if (unlikely((flags & DRM_MASTER) &&
> +	if (unlikely((flags & DRM_MASTER) &&
>  		     !drm_is_current_master(file_priv) &&
>  		     !drm_is_control_client(file_priv)))
>  		return -EACCES;
> @@ -704,7 +704,7 @@ static const struct drm_ioctl_desc drm_ioctls[] = {
>   *
>   *     ##define DRM_IOCTL_MY_DRIVER_OPERATION \
>   *         DRM_IOW(DRM_COMMAND_BASE, struct my_driver_operation)
> - *
> + *
>   * DRM driver private IOCTL must be in the range from DRM_COMMAND_BASE to
>   * DRM_COMMAND_END. Finally you need an array of &struct drm_ioctl_desc to
> wire * up the handlers and set the access rights::
diff mbox

Patch

diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c
index 4aafe4802099..b1e96fb68ea8 100644
--- a/drivers/gpu/drm/drm_ioctl.c
+++ b/drivers/gpu/drm/drm_ioctl.c
@@ -509,7 +509,7 @@  int drm_ioctl_permit(u32 flags, struct drm_file *file_priv)
 		return -EACCES;
 
 	/* MASTER is only for master or control clients */
-	if (unlikely((flags & DRM_MASTER) && 
+	if (unlikely((flags & DRM_MASTER) &&
 		     !drm_is_current_master(file_priv) &&
 		     !drm_is_control_client(file_priv)))
 		return -EACCES;
@@ -704,7 +704,7 @@  static const struct drm_ioctl_desc drm_ioctls[] = {
  *
  *     ##define DRM_IOCTL_MY_DRIVER_OPERATION \
  *         DRM_IOW(DRM_COMMAND_BASE, struct my_driver_operation)
- * 
+ *
  * DRM driver private IOCTL must be in the range from DRM_COMMAND_BASE to
  * DRM_COMMAND_END. Finally you need an array of &struct drm_ioctl_desc to wire
  * up the handlers and set the access rights::