Skip to content

Commit

Permalink
[WATCHDOG] machzwd warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Wim Van Sebroeck committed Feb 17, 2007
1 parent 8a03d9a commit 420cff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/watchdog/machzwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 420cff5

Please sign in to comment.