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


Groups > linux.kernel > #1344551 > unrolled thread

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

Started byGustavo Padovan <gustavo@padovan.org>
First post2016-02-26 19:40 +0100
Last post2016-02-29 09:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 3/5] staging/android: remove redundant comments on sync_merge_data Gustavo Padovan <gustavo@padovan.org> - 2016-02-26 19:40 +0100
    Re: [PATCH v4 3/5] staging/android: remove redundant comments on  sync_merge_data Maarten Lankhorst <maarten.lankhorst@linux.intel.com> - 2016-02-29 09:40 +0100

#1344551 — [PATCH v4 3/5] staging/android: remove redundant comments on sync_merge_data

FromGustavo Padovan <gustavo@padovan.org>
Date2016-02-26 19:40 +0100
Subject[PATCH v4 3/5] staging/android: remove redundant comments on sync_merge_data
Message-ID<r6vt0-7nJ-11@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>
---
 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 dd0dd84..f0b41ce 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.0

[toc] | [next] | [standalone]


#1345568 — Re: [PATCH v4 3/5] staging/android: remove redundant comments on sync_merge_data

FromMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date2016-02-29 09:40 +0100
SubjectRe: [PATCH v4 3/5] staging/android: remove redundant comments on sync_merge_data
Message-ID<r7rx0-Av-23@gated-at.bofh.it>
In reply to#1344551
Op 26-02-16 om 19:31 schreef Gustavo Padovan:
> 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>
> ---
>  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 dd0dd84..f0b41ce 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;
>  };
>  
>  /**
For the first 3 patches:

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web