Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396362 > unrolled thread

[PATCH 2/2] Staging: android: ion: fixes indentation

Started byThimo Braker <thibmorozier@gmail.com>
First post2016-05-07 22:40 +0200
Last post2016-05-08 04:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 2/2] Staging: android: ion: fixes indentation Thimo Braker <thibmorozier@gmail.com> - 2016-05-07 22:40 +0200
    Re: [PATCH 2/2] Staging: android: ion: fixes indentation Greg KH <gregkh@linuxfoundation.org> - 2016-05-08 04:50 +0200

#1396362 — [PATCH 2/2] Staging: android: ion: fixes indentation

FromThimo Braker <thibmorozier@gmail.com>
Date2016-05-07 22:40 +0200
Subject[PATCH 2/2] Staging: android: ion: fixes indentation
Message-ID<rwhb4-9a-3@gated-at.bofh.it>
Fixes indentation before variable names.

Signed-off-by: Thimo Braker <thibmorozier@gmail.com>
---
 drivers/staging/android/uapi/ion.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
index 77a46f0..ddb8174 100644
--- a/drivers/staging/android/uapi/ion.h
+++ b/drivers/staging/android/uapi/ion.h
@@ -89,11 +89,11 @@ enum ion_heap_type {
  * Provided by userspace as an argument to the ioctl
  */
 struct ion_allocation_data {
-	size_t len;
-	size_t align;
+	size_t	     len;
+	size_t	     align;
 	unsigned int heap_id_mask;
 	unsigned int flags;
-	int handle;
+	int	     handle;
 };
 
 /**
@@ -128,7 +128,7 @@ struct ion_handle_data {
  * This works just like the regular cmd and arg fields of an ioctl.
  */
 struct ion_custom_data {
-	unsigned int cmd;
+	unsigned int  cmd;
 	unsigned long arg;
 };
 
-- 
2.1.4

[toc] | [next] | [standalone]


#1396375

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-05-08 04:50 +0200
Message-ID<rwmX8-5Ms-3@gated-at.bofh.it>
In reply to#1396362
On Sat, May 07, 2016 at 03:33:04PM -0500, Thimo Braker wrote:
> Fixes indentation before variable names.
> 
> Signed-off-by: Thimo Braker <thibmorozier@gmail.com>
> ---
>  drivers/staging/android/uapi/ion.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
> index 77a46f0..ddb8174 100644
> --- a/drivers/staging/android/uapi/ion.h
> +++ b/drivers/staging/android/uapi/ion.h
> @@ -89,11 +89,11 @@ enum ion_heap_type {
>   * Provided by userspace as an argument to the ioctl
>   */
>  struct ion_allocation_data {
> -	size_t len;
> -	size_t align;
> +	size_t	     len;
> +	size_t	     align;
>  	unsigned int heap_id_mask;
>  	unsigned int flags;
> -	int handle;
> +	int	     handle;
>  };
>  
>  /**
> @@ -128,7 +128,7 @@ struct ion_handle_data {
>   * This works just like the regular cmd and arg fields of an ioctl.
>   */
>  struct ion_custom_data {
> -	unsigned int cmd;
> +	unsigned int  cmd;
>  	unsigned long arg;
>  };
>  

Doesn't apply as I didn't take path 1/2 :(

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web