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


Groups > linux.kernel > #1390847 > unrolled thread

Re: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data

Started by"Hillf Danton" <hillf.zj@alibaba-inc.com>
First post2016-04-29 10:00 +0200
Last post2016-04-29 15:40 +0200
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

  Re: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-04-29 10:00 +0200
    Re: [PATCH v2 01/13] staging/android: remove redundant comments on  sync_merge_data Gustavo Padovan <gustavo.padovan@collabora.co.uk> - 2016-04-29 15:40 +0200

#1390847 — Re: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data

From"Hillf Danton" <hillf.zj@alibaba-inc.com>
Date2016-04-29 10:00 +0200
SubjectRe: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data
Message-ID<rtbvc-2cI-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>
> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  drivers/staging/android/uapi/sync.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/android/uapi/sync.h b/drivers/staging/android/uapi/sync.h
> index 7de5d6a..413303d 100644
> --- a/drivers/staging/android/uapi/sync.h
> +++ b/drivers/staging/android/uapi/sync.h
> @@ -23,9 +23,9 @@
>   * @pad:	padding for 64-bit alignment, should always be zero
>   */
>  struct sync_merge_data {
> -	char	name[32]; /* name of new fence */
> -	__s32	fd2; /* fd of second fence */
> -	__s32	fence; /* fd on newly created fence */
> +	char	name[32];
> +	__s32	fd2;
> +	__s32	fence;
>  	__u32	flags;
>  	__u32	pad;
>  };
> @@ -33,8 +33,8 @@ struct sync_merge_data {
>  /**
>   * struct sync_fence_info - detailed fence information
>   * @obj_name:		name of parent sync_timeline
> - * @driver_name:	name of driver implementing the parent
> - * @status:		status of the fence 0:active 1:signaled <0:error
> +* @driver_name:	name of driver implementing the parent
> +* @status:		status of the fence 0:active 1:signaled <0:error

Would you please specify why this hunk is needed, with
fence info not mentioned in commit message?

>   * @flags:		fence_info flags
>   * @timestamp_ns:	timestamp of status change in nanoseconds
>   */
> --
> 2.5.5
> 

[toc] | [next] | [standalone]


#1391151 — Re: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data

FromGustavo Padovan <gustavo.padovan@collabora.co.uk>
Date2016-04-29 15:40 +0200
SubjectRe: [PATCH v2 01/13] staging/android: remove redundant comments on sync_merge_data
Message-ID<rtgOf-6Lx-23@gated-at.bofh.it>
In reply to#1390847
Hi Hillf,

2016-04-29 Hillf Danton <hillf.zj@alibaba-inc.com>:

> > 
> > 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>
> > Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > ---
> >  drivers/staging/android/uapi/sync.h | 10 +++++-----
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> > 
> > diff --git a/drivers/staging/android/uapi/sync.h b/drivers/staging/android/uapi/sync.h
> > index 7de5d6a..413303d 100644
> > --- a/drivers/staging/android/uapi/sync.h
> > +++ b/drivers/staging/android/uapi/sync.h
> > @@ -23,9 +23,9 @@
> >   * @pad:	padding for 64-bit alignment, should always be zero
> >   */
> >  struct sync_merge_data {
> > -	char	name[32]; /* name of new fence */
> > -	__s32	fd2; /* fd of second fence */
> > -	__s32	fence; /* fd on newly created fence */
> > +	char	name[32];
> > +	__s32	fd2;
> > +	__s32	fence;
> >  	__u32	flags;
> >  	__u32	pad;
> >  };
> > @@ -33,8 +33,8 @@ struct sync_merge_data {
> >  /**
> >   * struct sync_fence_info - detailed fence information
> >   * @obj_name:		name of parent sync_timeline
> > - * @driver_name:	name of driver implementing the parent
> > - * @status:		status of the fence 0:active 1:signaled <0:error
> > +* @driver_name:	name of driver implementing the parent
> > +* @status:		status of the fence 0:active 1:signaled <0:error
> 
> Would you please specify why this hunk is needed, with
> fence info not mentioned in commit message?

This shouldn't be here. Probably some leftover from a rebase that I
didn't notice. Thanks for pointing it out. I'll update this patch.

	Gustavo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web