[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201106182101.15523.arnd@arndb.de>
Date: Sat, 18 Jun 2011 21:01:15 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Wim Van Sebroeck <wim@...ana.be>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux Watchdog Mailing List <linux-watchdog@...r.kernel.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [PATCH 2/10 v2] Generic Watchdog Timer Driver
On Saturday 18 June 2011 19:20:43 Wim Van Sebroeck wrote:
> +/*
> * watchdog_open: open the /dev/watchdog device.
> * @inode: inode of device
> * @file: file handle to device
> @@ -202,6 +237,7 @@
> .owner = THIS_MODULE,
> .llseek = no_llseek,
> .write = watchdog_write,
> + .unlocked_ioctl = watchdog_ioctl,
> .open = watchdog_open,
> .release = watchdog_release,
> };
All the ioctl commands are compatible with their 32 bit counterparts, so
you can just set ".compat_ioctl = watchdog_ioctl" here to slightly speed
up the ioctl operation for compat tasks.
Looks good otherwise.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists