* [patch 06/10] init/do_mounts_initrd.c: fix sparse warning
@ 2005-03-19 13:17 domen
2005-03-20 11:14 ` [patch 06/10 with proper signed-off] " Domen Puncer
0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:17 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, domen, adobriyan
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/init/do_mounts_initrd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN init/do_mounts_initrd.c~sparse-init_do_mounts_initrd init/do_mounts_initrd.c
--- kj/init/do_mounts_initrd.c~sparse-init_do_mounts_initrd 2005-03-18 20:05:18.000000000 +0100
+++ kj-domen/init/do_mounts_initrd.c 2005-03-18 20:05:18.000000000 +0100
@@ -41,7 +41,7 @@ static int __init do_linuxrc(void * shel
static void __init handle_initrd(void)
{
int error;
- int i, pid;
+ int pid;
real_root_dev = new_encode_dev(ROOT_DEV);
create_dev("/dev/root.old", Root_RAM0, NULL);
@@ -58,7 +58,7 @@ static void __init handle_initrd(void)
pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
if (pid > 0) {
- while (pid != sys_wait4(-1, &i, 0, NULL))
+ while (pid != sys_wait4(-1, NULL, 0, NULL))
yield();
}
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 06/10 with proper signed-off] init/do_mounts_initrd.c: fix sparse warning
2005-03-19 13:17 [patch 06/10] init/do_mounts_initrd.c: fix sparse warning domen
@ 2005-03-20 11:14 ` Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2005-03-20 11:14 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, adobriyan
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/init/do_mounts_initrd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN init/do_mounts_initrd.c~sparse-init_do_mounts_initrd init/do_mounts_initrd.c
--- kj/init/do_mounts_initrd.c~sparse-init_do_mounts_initrd 2005-03-20 12:11:17.000000000 +0100
+++ kj-domen/init/do_mounts_initrd.c 2005-03-20 12:11:17.000000000 +0100
@@ -41,7 +41,7 @@ static int __init do_linuxrc(void * shel
static void __init handle_initrd(void)
{
int error;
- int i, pid;
+ int pid;
real_root_dev = new_encode_dev(ROOT_DEV);
create_dev("/dev/root.old", Root_RAM0, NULL);
@@ -58,7 +58,7 @@ static void __init handle_initrd(void)
pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD);
if (pid > 0) {
- while (pid != sys_wait4(-1, &i, 0, NULL))
+ while (pid != sys_wait4(-1, NULL, 0, NULL))
yield();
}
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-20 11:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 13:17 [patch 06/10] init/do_mounts_initrd.c: fix sparse warning domen
2005-03-20 11:14 ` [patch 06/10 with proper signed-off] " Domen Puncer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox