Re: [RFC] [PATCH 3/10] Generic Watchdog Timer Driver

From: Wim Van Sebroeck
Date: Fri Feb 25 2011 - 04:49:40 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/