mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 10:41:35 +01:00
Userland test programs
This commit is contained in:
@@ -43,7 +43,9 @@ void cleanup_module(void)
|
||||
{
|
||||
/* This waits for the work to finish. From docstring: */
|
||||
/* > Cancel @work and wait for its execution to finish. */
|
||||
cancel_work_sync(&work);
|
||||
cancel_work(&work);
|
||||
|
||||
/*cancel_work(&work);*/
|
||||
|
||||
destroy_workqueue(queue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user