Skip to contentSkip to conversation

uml: user of helper_wait() got missed when it got extra arguments

PATCH In review Al Viro 2 participants 2 messages Dec 23, 2007 – Jan 2, 2008 User-mode Linux (UML)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 uml: user of helper_wait() got missed when it got extra arguments

---
 arch/um/drivers/harddog_user.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/um/drivers/harddog_user.c +2 -2
index b56f8e0..448ba59 100644
@@ -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);
+		helper_wait(pid, 1, NULL);
 		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);
+		helper_wait(pid, 1, NULL);
 		err = n;
 		goto out_close_out;
 	}
Signature · 1 line
1.5.3.GIT
#1 lore raw

Review

Quoted 2 lines · Al Viro
(quoted diff) +1 -1
-		helper_wait(pid);
+		helper_wait(pid, 1, NULL);

Thanks.

I know I fixed these - I probably forgot to quilt add the file.

Jeff

Signature · 1 line
Work email - jdike at linux dot intel dot com