Commit:     420cff550fb1338bc946f1ccc8bb66f2d96ad1cb
Parent:     8a03d9a498eaf02c8a118752050a5154852c13bf
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 17 03:13:07 2007 -0800
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Sat Feb 17 22:42:15 2007 +0100

    [WATCHDOG] machzwd warning fix
    From: Andrew Morton <[EMAIL PROTECTED]>
    drivers/char/watchdog/machzwd.c: In function 'zf_ioctl':
    drivers/char/watchdog/machzwd.c:327: warning: passing argument 1 of 
'zf_ping' makes integer from pointer without a cast
    Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
 drivers/char/watchdog/machzwd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/watchdog/machzwd.c b/drivers/char/watchdog/machzwd.c
index 81fb3de..4a328ba 100644
--- a/drivers/char/watchdog/machzwd.c
+++ b/drivers/char/watchdog/machzwd.c
@@ -324,7 +324,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, 
unsigned int cmd,
                        return put_user(0, p);
                case WDIOC_KEEPALIVE:
-                       zf_ping(NULL);
+                       zf_ping(0);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to