summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-09 17:39:20 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-09 18:14:07 +0100
commit11718b4d6ba03cf83e4cd856e5eda3a8d0d17652 (patch)
tree5c0d7b0587f881a1603e2b4235432fce2e3caef6 /drivers/char/watchdog
parent[PATCH] kvm: NULL noise removal (diff)
downloadlinux-11718b4d6ba03cf83e4cd856e5eda3a8d0d17652.tar.xz
linux-11718b4d6ba03cf83e4cd856e5eda3a8d0d17652.zip
[PATCH] misc NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/watchdog')
-rw-r--r--drivers/char/watchdog/machzwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/machzwd.c b/drivers/char/watchdog/machzwd.c
index 276577d08fba..4d730fdbd528 100644
--- a/drivers/char/watchdog/machzwd.c
+++ b/drivers/char/watchdog/machzwd.c
@@ -325,7 +325,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
return put_user(0, p);
case WDIOC_KEEPALIVE:
- zf_ping(0);
+ zf_ping(NULL);
break;
default: