Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Cox <alan@...>
Cc: Wim Van Sebroeck <wim@...>, Christoph Hellwig <hch@...>, Jonathan Corbet <corbet@...>, Linus Torvalds <torvalds@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Thomas Gleixner <tglx@...>, Alexander Viro <viro@...>, <linux-kernel@...>
Date: Tuesday, May 20, 2008 - 5:00 pm

On Tuesday 20 May 2008, Alan Cox wrote:

Very nice code!


Are you planning this as a transitional method for
converting drivers, or are you aware of any driver that
actually needs its own ioctl method?


All the ioctl numbers are compatible, so it would be good
to register the watchdog ioctl function as compat_ioctl
as well. Once all drivers are using the common abstraction,
we can also kill their COMPATIBLE_IOCTL() entries in
fs/compat_ioctl.c.


There are a few watchdog drivers living outside of drivers/watchdog/,
I could find:

* arch/um/drivers/harddog_kern.c
* drivers/char/ipmi/ipmi_watchdog.c
* drivers/rtc/rtc-m41t80.c
* drivers/s390/char/vmwatchdog.c
* drivers/sbus/char/cpwatchdog.c
* drivers/sbus/char/riowatchdog.c

In order to conver those to the new model, you either have to
move them to the right place, or move the new declarations to
include/linux/watchdog.h.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/3, RFC] watchdog dev BKL pushdown, Arnd Bergmann, (Mon May 19, 7:14 pm)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Alan Cox, (Tue May 20, 4:42 am)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Christoph Hellwig, (Tue May 20, 2:20 am)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Alan Cox, (Tue May 20, 5:08 am)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Arnd Bergmann, (Tue May 20, 4:30 am)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Wim Van Sebroeck, (Tue May 20, 11:47 am)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Alan Cox, (Tue May 20, 2:31 pm)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Arnd Bergmann, (Tue May 20, 5:00 pm)
Re: [PATCH 2/3, RFC] watchdog dev BKL pushdown, Alan Cox, (Thu May 22, 5:34 am)