]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mv64x60_wdt __user annotations and cleanups
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 28 Sep 2005 23:42:27 +0000 (00:42 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Sep 2005 15:46:27 +0000 (08:46 -0700)
commitb2846dfa4aa1bbbf3f9977d67566952d7f621009
tree5c58a8e6dc823daa49b41d4c3e802915454a4788
parentae8aed0314064da3002879fedc2d262c72865a17
[PATCH] mv64x60_wdt __user annotations and cleanups

 - use nonseekable_open() instead of messing with

if (*ppos != file->f_pos)
return -EISPIPE

   in ->write() (->read is NULL).

 - trivial __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/mv64x60_wdt.c