Re: [PATCH 01/18] lirc core device driver infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jarod Wilson <jwilson@...>
Cc: <linux-kernel@...>, Jarod Wilson <jarod@...>, Janne Grunau <j@...>, Christoph Bartelmus <lirc@...>, Mario Limonciello <superm1@...>
Date: Tuesday, September 9, 2008 - 5:46 am

Jarod Wilson <jwilson@redhat.com> writes:

Just some quick comments, no complete review


Put the Ds into some include instead?


There's some effort to replace that all with pr_printk


sleep_on is really discouraged, consider replacing it with wait_event()


This means you always wake up every half a second? That will not make 
the powertop users happy. When there's nothing to do it should just sleep.


The checks in plugin_register seem a bit extreme.
At least make that all WARN_ONs


This seems racy with some users who are lockless


All kernels are recent now.


Always use the #ifdef MODULE path, it does DTRT when compiled in too.
Remove the init_module wrapper, replace with module_init() 

... not read further ...
-Andi

-- 
ak@linux.intel.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/18] linux infrared remote control drivers, Jarod Wilson, (Tue Sep 9, 12:05 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Christoph Hellwig, (Tue Sep 9, 8:46 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Jarod Wilson, (Tue Sep 9, 11:23 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Lennart Sorensen, (Tue Sep 9, 2:27 pm)
Re: [PATCH 0/18] linux infrared remote control drivers, Jarod Wilson, (Tue Sep 9, 2:34 pm)
Re: [PATCH 0/18] linux infrared remote control drivers, Alexey Dobriyan, (Tue Sep 9, 3:06 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Janne Grunau, (Tue Sep 9, 4:32 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Chris Wedgwood, (Tue Sep 9, 12:36 am)
[PATCH 01/18] lirc core device driver infrastructure, Jarod Wilson, (Tue Sep 9, 12:05 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Dmitry Torokhov, (Wed Sep 10, 9:08 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Gerd Hoffmann, (Thu Sep 11, 4:47 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Dmitry Torokhov, (Fri Sep 12, 12:44 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Maxim Levitsky, (Thu Sep 11, 5:28 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Sat Sep 13, 3:20 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Jonathan Corbet, (Tue Sep 9, 11:33 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Tue Sep 9, 9:01 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Fri Sep 12, 4:33 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Jarod Wilson, (Fri Sep 12, 10:51 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 2:03 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Wed Sep 10, 8:29 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Andi Kleen, (Tue Sep 9, 5:46 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Sebastian Siewior, (Tue Sep 9, 3:40 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 2:30 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Sat Sep 13, 3:21 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Stefan Richter, (Tue Sep 9, 9:27 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 12:41 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Sebastian Siewior, (Tue Sep 9, 8:33 am)
Re: [PATCH 02/18] lirc serial port receiver/transmitter devi..., Stefan Lippers-Hollmann, (Tue Sep 9, 3:51 pm)
[PATCH 05/18] lirc driver for i2c-based IR receivers, Jarod Wilson, (Tue Sep 9, 12:05 am)
Re: [PATCH 05/18] lirc driver for i2c-based IR receivers, Jonathan Corbet, (Wed Sep 10, 11:42 am)
Re: [PATCH 06/18] lirc driver for the ATI USB RF remote rece..., Christoph Hellwig, (Wed Sep 10, 9:14 am)
Re: [PATCH 06/18] lirc driver for the ATI USB RF remote rece..., Christoph Hellwig, (Wed Sep 10, 10:19 am)
Re: [PATCH 07/18] lirc driver for the CommandIR USB Transcei..., Christoph Bartelmus, (Thu Sep 11, 2:24 pm)
[PATCH 09/18] lirc driver for the Streamzap PC Receiver, Jarod Wilson, (Tue Sep 9, 12:05 am)
Re: [PATCH 09/18] lirc driver for the Streamzap PC Receiver, Jonathan Corbet, (Thu Sep 11, 11:22 am)
[PATCH 13/18] lirc driver for ITE8709 CIR port receiver, Jarod Wilson, (Tue Sep 9, 12:05 am)
[PATCH 15/18] lirc driver for the SIR IrDA port, Jarod Wilson, (Tue Sep 9, 12:06 am)