From: James Hogan Date: Mon, 5 Apr 2010 10:31:29 +0000 (+0100) Subject: [WATCHDOG] doc: Fix use of WDIOC_SETOPTIONS ioctl. X-Git-Tag: v2.6.34-rc4~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc333834cb86805485920dc77ee0f2fbb484462;p=pandora-kernel.git [WATCHDOG] doc: Fix use of WDIOC_SETOPTIONS ioctl. In the watchdog-test program and watchdog-api.txt, pass the values to the WDIOC_SETOPTIONS ioctl as a pointer to an integer containing the values intead of directly in the third ioctl argument. The actual watchdog drivers in drivers/watchdog don't read the options directly from the argument but use get_user and copy_from_user. Signed-off-by: James Hogan Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton --- Reading git-diff-tree failed