Re: [PATCH] crypto: engine - Handle the kthread worker using the new API

2016-10-24 Thread Herbert Xu
On Wed, Oct 19, 2016 at 01:54:30PM +0200, Petr Mladek wrote: > Use the new API to create and destroy the crypto engine kthread > worker. The API hides some implementation details. > > In particular, kthread_create_worker() allocates and initializes > struct kthread_worker. It runs the kthread the

[PATCH] crypto: engine - Handle the kthread worker using the new API

2016-10-19 Thread Petr Mladek
Use the new API to create and destroy the crypto engine kthread worker. The API hides some implementation details. In particular, kthread_create_worker() allocates and initializes struct kthread_worker. It runs the kthread the right way and stores task_struct into the worker structure.