[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110225094928.GQ3790@infomag.iguana.be>
Date: Fri, 25 Feb 2011 10:49:28 +0100
From: Wim Van Sebroeck <wim@...ana.be>
To: Mike Waychison <mikew@...gle.com>
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: [RFC] [PATCH 3/10] Generic Watchdog Timer Driver
Hi Mike,
>> diff --git a/drivers/watchdog/core/watchdog_dev.c b/drivers/watchdog/core/watchdog_dev.c
>> index ad08a93..0d2ed1d 100644
>> --- a/drivers/watchdog/core/watchdog_dev.c
>> +++ b/drivers/watchdog/core/watchdog_dev.c
>> @@ -151,6 +151,11 @@ static long watchdog_ioctl(struct file *file, unsigned int cmd,
>> return put_user(val, p);
>> case WDIOC_GETBOOTSTATUS:
>> return put_user(wdd->bootstatus, p);
>> + case WDIOC_KEEPALIVE:
>> + if (!(wdd->info->options& WDIOF_MAGICCLOSE))
>
> Is this meant to be WDIOF_KEEPALIVEPING ?
Yes it is. Fixed this in my code.
Thanks,
Wim.
--
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