public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: Fix coding style warning.
@ 2014-11-08 16:39 sharon
  2014-11-08 16:52 ` Greg KH
  2014-11-08 21:35 ` Dan Carpenter
  0 siblings, 2 replies; 3+ messages in thread
From: sharon @ 2014-11-08 16:39 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel

Fix coding style warning.
(First submission, sorry in advance for any dumb stuff I'm missing.
Let me know and I'll fix it.)

Signed-off-by: Sharon Dvir <sharon.dvir1@mail.huji.ac.il>

diff --git a/drivers/staging/android/binder.c
b/drivers/staging/android/binder.c
index c69c40d..655c3bf 100644
--- a/drivers/staging/android/binder.c
+++ b/drivers/staging/android/binder.c
@@ -1267,8 +1267,8 @@ static void
binder_transaction_buffer_release(struct binder_proc *proc,
 		switch (fp->type) {
 		case BINDER_TYPE_BINDER:
 		case BINDER_TYPE_WEAK_BINDER: {
-			struct binder_node *node = binder_get_node(proc, fp->binder);
-
+			struct binder_node *node = binder_get_node(proc,
+								fp->binder);
 			if (node == NULL) {
 				pr_err("transaction release %d bad node %016llx\n",
 				       debug_id, (u64)fp->binder);


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

* Re: PATCH: Fix coding style warning.
  2014-11-08 16:39 PATCH: Fix coding style warning sharon
@ 2014-11-08 16:52 ` Greg KH
  2014-11-08 21:35 ` Dan Carpenter
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2014-11-08 16:52 UTC (permalink / raw)
  To: sharon; +Cc: devel, linux-kernel

On Sat, Nov 08, 2014 at 06:39:06PM +0200, sharon wrote:
> Fix coding style warning.

What coding style warning?  Be specific please.

And your subject:, you aren't saying where in the kernel you are fixing
anything, look at other patches for this file in git, what did the
subject look like for them?

> (First submission, sorry in advance for any dumb stuff I'm missing.
> Let me know and I'll fix it.)

These two sentances don't need to be here :)

> Signed-off-by: Sharon Dvir <sharon.dvir1@mail.huji.ac.il>

This doesn't match up with what the From: line above says, so please fix
the from: line.

> diff --git a/drivers/staging/android/binder.c
> b/drivers/staging/android/binder.c
> index c69c40d..655c3bf 100644
> --- a/drivers/staging/android/binder.c
> +++ b/drivers/staging/android/binder.c
> @@ -1267,8 +1267,8 @@ static void
> binder_transaction_buffer_release(struct binder_proc *proc,
>  		switch (fp->type) {
>  		case BINDER_TYPE_BINDER:
>  		case BINDER_TYPE_WEAK_BINDER: {
> -			struct binder_node *node = binder_get_node(proc, fp->binder);
> -
> +			struct binder_node *node = binder_get_node(proc,
> +								fp->binder);
>  			if (node == NULL) {
>  				pr_err("transaction release %d bad node %016llx\n",
>  				       debug_id, (u64)fp->binder);

What tree did you make this against?  This file isn't in linux-next
anymore, is it?

thanks,

greg k-h

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

* Re: PATCH: Fix coding style warning.
  2014-11-08 16:39 PATCH: Fix coding style warning sharon
  2014-11-08 16:52 ` Greg KH
@ 2014-11-08 21:35 ` Dan Carpenter
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2014-11-08 21:35 UTC (permalink / raw)
  To: sharon; +Cc: gregkh, devel, linux-kernel

On Sat, Nov 08, 2014 at 06:39:06PM +0200, sharon wrote:
> Fix coding style warning.
> (First submission, sorry in advance for any dumb stuff I'm missing.
> Let me know and I'll fix it.)
> 

Everyone's first patch is rejected.
1) You need to work against linux-next.
2) Fix the subject:
   [PATCH] binder: lines too long
It has to be in that format.  `git am` will remove the [PATCH] part of
the subject.
3) Make the patch description as specific as possible.

regards,
dan carpenter

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

end of thread, other threads:[~2014-11-08 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-08 16:39 PATCH: Fix coding style warning sharon
2014-11-08 16:52 ` Greg KH
2014-11-08 21:35 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox