|
@@ -261,7 +261,8 @@ static void create_kthread(struct kthread_create_info *create)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static struct task_struct *__kthread_create_on_node(int (*threadfn)(void *data),
|
|
|
+static __printf(4, 0)
|
|
|
+struct task_struct *__kthread_create_on_node(int (*threadfn)(void *data),
|
|
|
void *data, int node,
|
|
|
const char namefmt[],
|
|
|
va_list args)
|
|
@@ -635,7 +636,7 @@ repeat:
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(kthread_worker_fn);
|
|
|
|
|
|
-static struct kthread_worker *
|
|
|
+static __printf(3, 0) struct kthread_worker *
|
|
|
__kthread_create_worker(int cpu, unsigned int flags,
|
|
|
const char namefmt[], va_list args)
|
|
|
{
|