PATCH: Fix coding style warning.
Fix coding style warning.
(First submission, sorry in advance for any dumb stuff I'm missing. Let me know and I'll fix it.)
(quoted diff) +0 -0
b/drivers/staging/android/binder.c
index c69c40d..655c3bf 100644
drivers/staging/android/binder.c +0 -0
@@ -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);
Greg KH
maintainerQuoted 1 line · sharon
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?
Quoted 2 lines
(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 :)
Quoted 1 line
Signed-off-by Sharon Dvir <[email protected]>
This doesn't match up with what the From: line above says, so please fix the from: line.
Quoted 16 lines
drivers/staging/android/binder.c +2
-2@@ -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",
Quoted 1 line
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
Quoted 4 lines · sharon
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