All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
@ 2014-07-28 22:38 Murilo Opsfelder Araujo
  2014-07-31  0:17 ` Greg KH
  2014-07-31 13:00 ` Yann Droneaud
  0 siblings, 2 replies; 6+ messages in thread
From: Murilo Opsfelder Araujo @ 2014-07-28 22:38 UTC (permalink / raw)
  To: devel, linux-kernel
  Cc: gregkh, daniel, waydi1, ydroneaud, sumit.semwal,
	maarten.lankhorst, Murilo Opsfelder Araujo

Fix coding style issue.

Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
---
 drivers/staging/android/sw_sync.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
index a76db3f..863d4b1 100644
--- a/drivers/staging/android/sw_sync.c
+++ b/drivers/staging/android/sw_sync.c
@@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt,
 				       char *str, int size)
 {
 	struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
+
 	snprintf(str, size, "%d", pt->value);
 }
 
@@ -156,6 +157,7 @@ static int sw_sync_open(struct inode *inode, struct file *file)
 static int sw_sync_release(struct inode *inode, struct file *file)
 {
 	struct sw_sync_timeline *obj = file->private_data;
+
 	sync_timeline_destroy(&obj->obj);
 	return 0;
 }
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
  2014-07-28 22:38 [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration Murilo Opsfelder Araujo
@ 2014-07-31  0:17 ` Greg KH
  2014-07-31 11:44   ` Murilo Opsfelder Araujo
  2014-07-31 13:00 ` Yann Droneaud
  1 sibling, 1 reply; 6+ messages in thread
From: Greg KH @ 2014-07-31  0:17 UTC (permalink / raw)
  To: Murilo Opsfelder Araujo
  Cc: devel, linux-kernel, ydroneaud, waydi1, daniel,
	maarten.lankhorst, sumit.semwal

On Mon, Jul 28, 2014 at 07:38:23PM -0300, Murilo Opsfelder Araujo wrote:
> Fix coding style issue.
> 
> Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
> ---
>  drivers/staging/android/sw_sync.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
> index a76db3f..863d4b1 100644
> --- a/drivers/staging/android/sw_sync.c
> +++ b/drivers/staging/android/sw_sync.c
> @@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt,
>  				       char *str, int size)
>  {
>  	struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
> +
>  	snprintf(str, size, "%d", pt->value);
>  }
>  
> @@ -156,6 +157,7 @@ static int sw_sync_open(struct inode *inode, struct file *file)
>  static int sw_sync_release(struct inode *inode, struct file *file)
>  {
>  	struct sw_sync_timeline *obj = file->private_data;
> +
>  	sync_timeline_destroy(&obj->obj);
>  	return 0;
>  }

Does not apply to my tree at all :(

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
  2014-07-31  0:17 ` Greg KH
@ 2014-07-31 11:44   ` Murilo Opsfelder Araujo
  0 siblings, 0 replies; 6+ messages in thread
From: Murilo Opsfelder Araujo @ 2014-07-31 11:44 UTC (permalink / raw)
  To: Greg KH
  Cc: devel, linux-kernel, ydroneaud, waydi1, daniel,
	maarten.lankhorst, sumit.semwal

On 07/30/2014 09:17 PM, Greg KH wrote:
> Does not apply to my tree at all :(

I was using linux-next.  No checkpatch.pl warnings for sw_sync.c in 
staging-next.

-- 
Murilo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
  2014-07-28 22:38 [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration Murilo Opsfelder Araujo
  2014-07-31  0:17 ` Greg KH
@ 2014-07-31 13:00 ` Yann Droneaud
  2014-07-31 13:30   ` Dan Carpenter
  1 sibling, 1 reply; 6+ messages in thread
From: Yann Droneaud @ 2014-07-31 13:00 UTC (permalink / raw)
  To: Nicholas Krause, Adrian Remonda, Murilo Opsfelder Araujo
  Cc: devel, linux-kernel, gregkh, daniel, waydi1, sumit.semwal,
	maarten.lankhorst, ydroneaud

Hi,

Le lundi 28 juillet 2014 à 19:38 -0300, Murilo Opsfelder Araujo a
écrit :
> Fix coding style issue.
> 
> Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>

Is this some kind of game ?

The *same* patch was sent three times from three different email
addresses:

  http://lkml.kernel.org/r/1406170403-4506-1-git-send-email-xerofoify@gmail.com

    From: Nicholas Krause <xerofoify@gmail.com>
    Date: Wed, 23 Jul 2014 22:53:23 -0400
    Message-Id: <1406170403-4506-1-git-send-email-xerofoify@gmail.com>
    Subject: [PATCH] staging: Add blank lines in sw_sync.c

  http://lkml.kernel.org/r/1406581660-7863-1-git-send-email-adrianremonda@gmail.com

    From: Adrian Remonda <adrianremonda@gmail.com>
    Date: Mon, 28 Jul 2014 23:07:40 +0200
    Message-Id: <1406581660-7863-1-git-send-email-adrianremonda@gmail.com>
    Subject: [PATCH] Staging: android: Missing a blank line after declarations
     in sw_sync.c This is a patch to the sw_sync.c file that fixes up a missing
     a blank warning found by the checkpatch.pl tool

  http://lkml.kernel.org/r/1406587103-5784-1-git-send-email-mopsfelder@gmail.com

    From: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
    Date: Mon, 28 Jul 2014 19:38:23 -0300
    Message-Id: <1406587103-5784-1-git-send-email-mopsfelder@gmail.com>
    Subject: [PATCH] Staging: android: sw_sync.c: fix missing blank line after
     declaration


> ---
>  drivers/staging/android/sw_sync.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c
> index a76db3f..863d4b1 100644
> --- a/drivers/staging/android/sw_sync.c
> +++ b/drivers/staging/android/sw_sync.c
> @@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt,
>  				       char *str, int size)
>  {
>  	struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
> +
>  	snprintf(str, size, "%d", pt->value);
>  }
>  
> @@ -156,6 +157,7 @@ static int sw_sync_open(struct inode *inode, struct file *file)
>  static int sw_sync_release(struct inode *inode, struct file *file)
>  {
>  	struct sw_sync_timeline *obj = file->private_data;
> +
>  	sync_timeline_destroy(&obj->obj);
>  	return 0;
>  }

Regards.

-- 
Yann Droneaud
OPTEYA



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
  2014-07-31 13:00 ` Yann Droneaud
@ 2014-07-31 13:30   ` Dan Carpenter
  2014-07-31 13:44     ` Yann Droneaud
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Carpenter @ 2014-07-31 13:30 UTC (permalink / raw)
  To: Yann Droneaud
  Cc: Nicholas Krause, Adrian Remonda, Murilo Opsfelder Araujo, devel,
	waydi1, gregkh, linux-kernel, daniel, maarten.lankhorst,
	sumit.semwal

On Thu, Jul 31, 2014 at 03:00:19PM +0200, Yann Droneaud wrote:
> Hi,
> 
> Le lundi 28 juillet 2014 à 19:38 -0300, Murilo Opsfelder Araujo a
> écrit :
> > Fix coding style issue.
> > 
> > Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
> 
> Is this some kind of game ?
> 
> The *same* patch was sent three times from three different email
> addresses:

This is just normal.

Once I saw 7 people send the same patch.  I was almost the third person
to send a fix last week.  I had the patch prepared to send, but I
happened to look at my inbox before sending.

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration
  2014-07-31 13:30   ` Dan Carpenter
@ 2014-07-31 13:44     ` Yann Droneaud
  0 siblings, 0 replies; 6+ messages in thread
From: Yann Droneaud @ 2014-07-31 13:44 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Nicholas Krause, Adrian Remonda, Murilo Opsfelder Araujo, devel,
	waydi1, gregkh, linux-kernel, daniel, maarten.lankhorst,
	sumit.semwal, Yann Droneaud

Hi,

Le jeudi 31 juillet 2014 à 16:30 +0300, Dan Carpenter a écrit :
> On Thu, Jul 31, 2014 at 03:00:19PM +0200, Yann Droneaud wrote:
> > Le lundi 28 juillet 2014 à 19:38 -0300, Murilo Opsfelder Araujo a
> > écrit :
> > > Fix coding style issue.
> > > 
> > > Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
> > 
> > Is this some kind of game ?
> > 
> > The *same* patch was sent three times from three different email
> > addresses:
> 
> This is just normal.
> 
> Once I saw 7 people send the same patch.  I was almost the third person
> to send a fix last week.  I had the patch prepared to send, but I
> happened to look at my inbox before sending.
> 

As the initial patch was sent by someone who has some trouble with the
way things are done here [1], it raise some, probably false, alarms.

[1] "Help with flame wars"
http://lists.kernelnewbies.org/pipermail/kernelnewbies/2014-July/011394.html

Regards.

-- 
Yann Droneaud
OPTEYA



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-31 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 22:38 [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration Murilo Opsfelder Araujo
2014-07-31  0:17 ` Greg KH
2014-07-31 11:44   ` Murilo Opsfelder Araujo
2014-07-31 13:00 ` Yann Droneaud
2014-07-31 13:30   ` Dan Carpenter
2014-07-31 13:44     ` Yann Droneaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.