linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/2] fs: compat_ioctl: add pretimeout functions for watchdogs
       [not found] <1466902865-14354-1-git-send-email-vladimir_zapolskiy@mentor.com>
@ 2016-06-26  1:01 ` Vladimir Zapolskiy
  2016-06-26  2:30   ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Zapolskiy @ 2016-06-26  1:01 UTC (permalink / raw)
  To: Wolfram Sang, Robin Gong, Guenter Roeck
  Cc: Wim Van Sebroeck, linux-watchdog, Alexander Viro, linux-fsdevel

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

Watchdog core now handles those ioctls centrally, so we want 64 bit
support, too.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
---
Changes from v1 to v2:
* none

 fs/compat_ioctl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index bd01b92..914bfc5 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1208,6 +1208,8 @@ COMPATIBLE_IOCTL(WDIOC_SETOPTIONS)
 COMPATIBLE_IOCTL(WDIOC_KEEPALIVE)
 COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT)
 COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT)
+COMPATIBLE_IOCTL(WDIOC_SETPRETIMEOUT)
+COMPATIBLE_IOCTL(WDIOC_GETPRETIMEOUT)
 /* Big R */
 COMPATIBLE_IOCTL(RNDGETENTCNT)
 COMPATIBLE_IOCTL(RNDADDTOENTCNT)
-- 
2.8.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 2/2] fs: compat_ioctl: add pretimeout functions for watchdogs
  2016-06-26  1:01 ` [PATCH v2 2/2] fs: compat_ioctl: add pretimeout functions for watchdogs Vladimir Zapolskiy
@ 2016-06-26  2:30   ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2016-06-26  2:30 UTC (permalink / raw)
  To: Vladimir Zapolskiy, Wolfram Sang, Robin Gong
  Cc: Wim Van Sebroeck, linux-watchdog, Alexander Viro, linux-fsdevel

On 06/25/2016 06:01 PM, Vladimir Zapolskiy wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> Watchdog core now handles those ioctls centrally, so we want 64 bit
> support, too.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
> Cc: linux-fsdevel@vger.kernel.org
> Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>

Acked-by: Guenter Roeck <linux@roeck-us.net>

> ---
> Changes from v1 to v2:
> * none
>
>   fs/compat_ioctl.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
> index bd01b92..914bfc5 100644
> --- a/fs/compat_ioctl.c
> +++ b/fs/compat_ioctl.c
> @@ -1208,6 +1208,8 @@ COMPATIBLE_IOCTL(WDIOC_SETOPTIONS)
>   COMPATIBLE_IOCTL(WDIOC_KEEPALIVE)
>   COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT)
>   COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT)
> +COMPATIBLE_IOCTL(WDIOC_SETPRETIMEOUT)
> +COMPATIBLE_IOCTL(WDIOC_GETPRETIMEOUT)
>   /* Big R */
>   COMPATIBLE_IOCTL(RNDGETENTCNT)
>   COMPATIBLE_IOCTL(RNDADDTOENTCNT)
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-26  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1466902865-14354-1-git-send-email-vladimir_zapolskiy@mentor.com>
2016-06-26  1:01 ` [PATCH v2 2/2] fs: compat_ioctl: add pretimeout functions for watchdogs Vladimir Zapolskiy
2016-06-26  2:30   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).