projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c03c38
)
kernel/exit.c: fix shadows sparse warning
author
Thiago Farina
<tfransosi@gmail.com>
Fri, 5 Mar 2010 21:42:52 +0000
(13:42 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:32 +0000
(11:26 -0800)
kernel/exit.c:1183:26: warning: symbol 'status' shadows an earlier one
kernel/exit.c:1173:21: originally declared here
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/exit.c
b/kernel/exit.c
index 10d3c5d5ae44cdfea63d736787a0884ec021b737..ce1e48c2d93d3dbae4769ecc518066df383f0310 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-1189,7
+1189,7
@@
static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p)
if (unlikely(wo->wo_flags & WNOWAIT)) {
int exit_code = p->exit_code;
- int why
, status
;
+ int why;
get_task_struct(p);
read_unlock(&tasklist_lock);