]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[WATCHDOG] machzwd warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Feb 2007 11:13:07 +0000 (03:13 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 17 Feb 2007 21:42:15 +0000 (22:42 +0100)
From: Andrew Morton <akpm@linux-foundation.org>

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 <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/char/watchdog/machzwd.c

index 81fb3dec180f5be0b5076568b3c140caa6393d4f..4a328ba0d262279baaec50eda6430c926461fc0d 100644 (file)
@@ -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);
                        break;
 
                default: