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


Groups > linux.kernel > #1383659 > unrolled thread

[PATCH 1/3] staging/android: remove redundant comments on sync_merge_data

Started byGustavo Padovan <gustavo@padovan.org>
First post2016-04-20 21:20 +0200
Last post2016-04-20 21:40 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] staging/android: remove redundant comments on sync_merge_data Gustavo Padovan <gustavo@padovan.org> - 2016-04-20 21:20 +0200
    Re: [PATCH 1/3] staging/android: remove redundant comments on  sync_merge_data Gustavo Padovan <gustavo@padovan.org> - 2016-04-20 21:40 +0200

#1383659 — [PATCH 1/3] staging/android: remove redundant comments on sync_merge_data

FromGustavo Padovan <gustavo@padovan.org>
Date2016-04-20 21:20 +0200
Subject[PATCH 1/3] staging/android: remove redundant comments on sync_merge_data
Message-ID<rq5Pj-4mv-3@gated-at.bofh.it>
From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

struct sync_merge_data already have documentation on top of the
struct definition. No need to duplicate it.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/staging/android/uapi/sync.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/android/uapi/sync.h b/drivers/staging/android/uapi/sync.h
index a0cf357..4467c76 100644
--- a/drivers/staging/android/uapi/sync.h
+++ b/drivers/staging/android/uapi/sync.h
@@ -21,9 +21,9 @@
  * @fence:	returns the fd of the new fence to userspace
  */
 struct sync_merge_data {
-	__s32	fd2; /* fd of second fence */
-	char	name[32]; /* name of new fence */
-	__s32	fence; /* fd on newly created fence */
+	__s32	fd2;
+	char	name[32];
+	__s32	fence;
 };
 
 /**
-- 
2.5.5

[toc] | [next] | [standalone]


#1383698 — Re: [PATCH 1/3] staging/android: remove redundant comments on sync_merge_data

FromGustavo Padovan <gustavo@padovan.org>
Date2016-04-20 21:40 +0200
SubjectRe: [PATCH 1/3] staging/android: remove redundant comments on sync_merge_data
Message-ID<rq68J-4zt-93@gated-at.bofh.it>
In reply to#1383659
I messed up with the subject prefix, but this is v11, adds typecheck()
to patch 2.

2016-04-20 Gustavo Padovan <gustavo@padovan.org>:

> From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> 
> struct sync_merge_data already have documentation on top of the
> struct definition. No need to duplicate it.
> 
> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> ---
>  drivers/staging/android/uapi/sync.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/android/uapi/sync.h b/drivers/staging/android/uapi/sync.h
> index a0cf357..4467c76 100644
> --- a/drivers/staging/android/uapi/sync.h
> +++ b/drivers/staging/android/uapi/sync.h
> @@ -21,9 +21,9 @@
>   * @fence:	returns the fd of the new fence to userspace
>   */
>  struct sync_merge_data {
> -	__s32	fd2; /* fd of second fence */
> -	char	name[32]; /* name of new fence */
> -	__s32	fence; /* fd on newly created fence */
> +	__s32	fd2;
> +	char	name[32];
> +	__s32	fence;
>  };
>  
>  /**
> -- 
> 2.5.5
> 

	Gustavo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web