Re: [RFC, PATCH] watchdog on gpio

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Frysinger <vapier.adi@...>
Cc: Marc Pignat <marc.pignat@...>, <wim@...>, <linux-kernel@...>
Date: Monday, January 14, 2008 - 5:03 am

> > #include <linux/gpio_wdt.h>

or _wdt/wdt_ like the rest of the watchdog code uses for watchdog names
(wdt ->watchdog timer).


No.


Yes. That's a common confusion. -ENOIOCTLCMD is a magic code used
internally by some mid layers to indicate the driver doesn't know the
ioctl so use default behaviour. -ENOTTY (confusingly but this is Unix
history) is the right answer for unknowns.

Saves memory - you can't make inlined strings __initdata without breaking
some compilers. So it is correct.


IFF the device can be found/removed dynamically.


The core watchdog code only supports one watchdog currently. This again
is correct.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC, PATCH] watchdog on gpio, Marc Pignat, (Thu Jan 10, 11:11 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 4:04 am)
Re: [RFC, PATCH] watchdog on gpio, Alan Cox, (Mon Jan 14, 5:03 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 5:28 am)
Re: [RFC, PATCH] watchdog on gpio, Alan Cox, (Mon Jan 14, 5:29 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 5:45 am)
Re: [RFC, PATCH] watchdog on gpio, Johannes Weiner, (Mon Jan 14, 8:49 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 9:03 am)
Re: [RFC, PATCH] watchdog on gpio, Haavard Skinnemoen, (Mon Jan 14, 8:14 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 8:22 am)
Re: [RFC, PATCH] watchdog on gpio, Haavard Skinnemoen, (Mon Jan 14, 9:30 am)
Re: [RFC, PATCH] watchdog on gpio, Florian Fainelli, (Fri Jan 11, 12:40 pm)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 4:08 am)
Re: [RFC, PATCH] watchdog on gpio, Marc Pignat, (Mon Jan 14, 3:34 am)
Re: [RFC, PATCH] watchdog on gpio, Ben Dooks, (Thu Jan 10, 1:14 pm)