[Openipmi-developer] [RESEND PATCH] char: ipmi: Drop owner assignment from i2c_driver

2015-11-18 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/char/ipmi/ipmi_ssif.c | 1 - 1 file changed,

[Openipmi-developer] [PATCH v3 17/22] ipmi: Convert kipmi kthread into kthread worker API

2015-11-18 Thread Petr Mladek
Kthreads are currently implemented as an infinite loop. Each has its own variant of checks for terminating, freezing, awakening. In many cases it is unclear to say in which state it is and sometimes it is done a wrong way. The plan is to convert kthreads into kthread_worker or workqueues API. It a

Re: [Openipmi-developer] [PATCH v3 00/22] kthread: Use kthread worker API more widely

2015-11-18 Thread Paul E. McKenney
On Wed, Nov 18, 2015 at 02:25:05PM +0100, Petr Mladek wrote: > My intention is to make it easier to manipulate and maintain kthreads. > Especially, I want to replace all the custom main cycles with a > generic one. Also I want to make the kthreads sleep in a consistent > state in a common place whe

[Openipmi-developer] [PATCH v3 00/22] kthread: Use kthread worker API more widely

2015-11-18 Thread Petr Mladek
My intention is to make it easier to manipulate and maintain kthreads. Especially, I want to replace all the custom main cycles with a generic one. Also I want to make the kthreads sleep in a consistent state in a common place when there is no work. My first attempt was with a brand new API (itera