linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thimo Braker <thibmorozier@gmail.com>
To: gregkh@linuxfoundation.org
Cc: labbott@redhat.com, sumit.semwal@linaro.org, arve@android.com,
	iandrews@android.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	Thimo Braker <thibmorozier@gmail.com>
Subject: [PATCH v2 1/1] Staging: android: uapi: ion: Fixes indentation
Date: Sun,  8 May 2016 13:41:47 +0200	[thread overview]
Message-ID: <1462707707-51783-1-git-send-email-thibmorozier@gmail.com> (raw)

Fixes the indentation before variable names.

Signed-off-by: Thimo Braker <thibmorozier@gmail.com>
---
 drivers/staging/android/uapi/ion.h      | 20 ++++++++++----------
 drivers/staging/android/uapi/ion_test.h | 10 +++++-----
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
index 0a8e40f..6dda8d5 100644
--- a/drivers/staging/android/uapi/ion.h
+++ b/drivers/staging/android/uapi/ion.h
@@ -91,11 +91,11 @@ enum ion_heap_type {
  * Provided by userspace as an argument to the ioctl
  */
 struct ion_allocation_data {
-	size_t len;
-	size_t align;
-	unsigned int heap_id_mask;
-	unsigned int flags;
-	ion_user_handle_t handle;
+	size_t			len;
+	size_t			align;
+	unsigned int		heap_id_mask;
+	unsigned int		flags;
+	ion_user_handle_t	handle;
 };
 
 /**
@@ -109,8 +109,8 @@ struct ion_allocation_data {
  * provides the file descriptor and the kernel returns the handle.
  */
 struct ion_fd_data {
-	ion_user_handle_t handle;
-	int fd;
+	ion_user_handle_t	handle;
+	int			fd;
 };
 
 /**
@@ -118,7 +118,7 @@ struct ion_fd_data {
  * @handle:	a handle
  */
 struct ion_handle_data {
-	ion_user_handle_t handle;
+	ion_user_handle_t	handle;
 };
 
 /**
@@ -130,8 +130,8 @@ 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 long arg;
+	unsigned int	cmd;
+	unsigned long	arg;
 };
 
 #define ION_IOC_MAGIC		'I'
diff --git a/drivers/staging/android/uapi/ion_test.h b/drivers/staging/android/uapi/ion_test.h
index ffef06f..0d5a496 100644
--- a/drivers/staging/android/uapi/ion_test.h
+++ b/drivers/staging/android/uapi/ion_test.h
@@ -28,11 +28,11 @@
  * @write:	1 to write, 0 to read
  */
 struct ion_test_rw_data {
-	__u64 ptr;
-	__u64 offset;
-	__u64 size;
-	int write;
-	int __padding;
+	__u64	ptr;
+	__u64	offset;
+	__u64	size;
+	int	write;
+	int	__padding;
 };
 
 #define ION_IOC_MAGIC		'I'
-- 
2.1.4

             reply	other threads:[~2016-05-08 11:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-08 11:41 Thimo Braker [this message]
2016-05-09 12:08 ` [PATCH v2 1/1] Staging: android: uapi: ion: Fixes indentation Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462707707-51783-1-git-send-email-thibmorozier@gmail.com \
    --to=thibmorozier@gmail.com \
    --cc=arve@android.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=iandrews@android.com \
    --cc=labbott@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sumit.semwal@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).