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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Tuesday, September 9, 2008 - 2: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, (Mon Sep 8, 9:05 pm)
[PATCH 01/18] lirc core device driver infrastructure, Jarod Wilson, (Mon Sep 8, 9:05 pm)
[PATCH 05/18] lirc driver for i2c-based IR receivers, Jarod Wilson, (Mon Sep 8, 9:05 pm)
[PATCH 15/18] lirc driver for the SIR IrDA port, Jarod Wilson, (Mon Sep 8, 9:06 pm)
Re: [PATCH 0/18] linux infrared remote control drivers, Chris Wedgwood, (Mon Sep 8, 9:36 pm)
Re: [PATCH 0/18] linux infrared remote control drivers, Alexey Dobriyan, (Tue Sep 9, 12:06 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Sebastian Siewior, (Tue Sep 9, 12:40 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Janne Grunau, (Tue Sep 9, 1:32 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Andi Kleen, (Tue Sep 9, 2:46 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Sebastian Siewior, (Tue Sep 9, 5:33 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Christoph Hellwig, (Tue Sep 9, 5:46 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Tue Sep 9, 6:01 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Stefan Richter, (Tue Sep 9, 6:27 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Jarod Wilson, (Tue Sep 9, 8:23 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Jonathan Corbet, (Tue Sep 9, 8:33 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Lennart Sorensen, (Tue Sep 9, 11:27 am)
Re: [PATCH 0/18] linux infrared remote control drivers, Jarod Wilson, (Tue Sep 9, 11:34 am)
Re: [PATCH 02/18] lirc serial port receiver/transmitter de ..., Stefan Lippers-Hollmann, (Tue Sep 9, 12:51 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Wed Sep 10, 5:29 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Dmitry Torokhov, (Wed Sep 10, 6:08 am)
Re: [PATCH 06/18] lirc driver for the ATI USB RF remote re ..., Christoph Hellwig, (Wed Sep 10, 6:14 am)
Re: [PATCH 06/18] lirc driver for the ATI USB RF remote re ..., Christoph Hellwig, (Wed Sep 10, 7:19 am)
Re: [PATCH 05/18] lirc driver for i2c-based IR receivers, Jonathan Corbet, (Wed Sep 10, 8:42 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Gerd Hoffmann, (Thu Sep 11, 1:47 am)
Re: [PATCH 09/18] lirc driver for the Streamzap PC Receiver, Jonathan Corbet, (Thu Sep 11, 8:22 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 9:41 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 11:03 am)
Re: [PATCH 07/18] lirc driver for the CommandIR USB Transc ..., Christoph Bartelmus, (Thu Sep 11, 11:24 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Thu Sep 11, 11:30 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Jarod Wilson, (Thu Sep 11, 12:09 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Janne Grunau, (Thu Sep 11, 12:18 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Maxim Levitsky, (Thu Sep 11, 2:28 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Dmitry Torokhov, (Thu Sep 11, 9:44 pm)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Hellwig, (Fri Sep 12, 1:33 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Sat Sep 13, 12:20 am)
Re: [PATCH 01/18] lirc core device driver infrastructure, Christoph Bartelmus, (Sat Sep 13, 12:21 am)