* [uml-devel] [PATCH] uml: Fix calls of helper_wait in harddog_user.c
@ 2008-02-10 19:49 Johann Felix Soden
2008-02-11 23:38 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Johann Felix Soden @ 2008-02-10 19:49 UTC (permalink / raw)
To: Jeff Dike; +Cc: user-mode-linux-devel
From: Johann Felix Soden <johfel@users.sourceforge.net>
In 1aa351a308d2c3ddb92b6cc45083fc54271d0010 the arguments of helper_wait() were
changed. The adaptation of harddog_user.c was forgotten, so this errors occur:
/arch/um/drivers/harddog_user.c: In function 'start_watchdog':
/arch/um/drivers/harddog_user.c:82: error: too many arguments to function 'helper_wait'
/arch/um/drivers/harddog_user.c:89: error: too many arguments to function 'helper_wait'
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
---
arch/um/drivers/harddog_user.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c
index 448ba59..b56f8e0 100644
--- a/arch/um/drivers/harddog_user.c
+++ b/arch/um/drivers/harddog_user.c
@@ -79,14 +79,14 @@ int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock)
n = read(in_fds[0], &c, sizeof(c));
if (n == 0) {
printk("harddog_open - EOF on watchdog pipe\n");
- helper_wait(pid, 1, NULL);
+ helper_wait(pid);
err = -EIO;
goto out_close_out;
}
else if (n < 0) {
printk("harddog_open - read of watchdog pipe failed, "
"err = %d\n", errno);
- helper_wait(pid, 1, NULL);
+ helper_wait(pid);
err = n;
goto out_close_out;
}
--
1.5.4
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [uml-devel] [PATCH] uml: Fix calls of helper_wait in harddog_user.c
2008-02-10 19:49 [uml-devel] [PATCH] uml: Fix calls of helper_wait in harddog_user.c Johann Felix Soden
@ 2008-02-11 23:38 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-02-11 23:38 UTC (permalink / raw)
To: Johann Felix Soden; +Cc: user-mode-linux-devel
On Sun, Feb 10, 2008 at 08:49:42PM +0100, Johann Felix Soden wrote:
> From: Johann Felix Soden <johfel@users.sourceforge.net>
>
> In 1aa351a308d2c3ddb92b6cc45083fc54271d0010 the arguments of helper_wait() were
> changed. The adaptation of harddog_user.c was forgotten, so this errors occur:
>
> /arch/um/drivers/harddog_user.c: In function 'start_watchdog':
> /arch/um/drivers/harddog_user.c:82: error: too many arguments to function 'helper_wait'
> /arch/um/drivers/harddog_user.c:89: error: too many arguments to function 'helper_wait'
Another one that was spotted (this time by Al Viro) and a patch
produced and ignored. I'll take care of this one too.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-11 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-10 19:49 [uml-devel] [PATCH] uml: Fix calls of helper_wait in harddog_user.c Johann Felix Soden
2008-02-11 23:38 ` Jeff Dike
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.