> Hi,
Good time of day.
> that uses a kernel thread to do the actual work asynchronously from
> rest of the world. The thread is created when opening a character
> device and exits when the device is closed.
Maybe you should use do_exit() at the end or complete_and_exit()?
> [daemonize() etc.]
...
do_exit(0); // At least usb hub do it in such manner.
> return 0;
> Thanks,
I hope this will help you.
> // Jarno
> -
Evgeniy Polyakov ( s0mbre ).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/