Skip to contentSkip to conversation

Staging: android: ion: fixes indentation

PATCH In review Thimo Braker 2 participants 2 messages May 7, 2016 – May 8, 2016 Staging

lore
Share & tools
lore
#0 lore raw

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

Fixes indentation before variable names.

---
 drivers/staging/android/uapi/ion.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/android/uapi/ion.h +4 -4
index 77a46f0..ddb8174 100644
@@ -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;
 };
 
Signature · 1 line
2.1.4
maintainer
#1 lore raw
Quoted 27 lines · Thimo Braker

Fixes indentation before variable names.

---
 drivers/staging/android/uapi/ion.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/android/uapi/ion.h +3 -3
index 77a46f0..ddb8174 100644
@@ -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;
 };
 
 /**

drivers/staging/android/uapi/ion.h struct ion_handle_data { · line 134

Quoted 8 lines
drivers/staging/android/uapi/ion.h +1 -1
@@ -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 :(