diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 8692e75aa6d8..b59cc9f86d15 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -5119,7 +5119,7 @@ EXPORT_SYMBOL_GPL(set_worker_desc); */ void print_worker_info(const char *log_lvl, struct task_struct *task) { - work_func_t *fn = NULL; + work_func_t fn = NULL; char name[WQ_NAME_LEN] = { }; char desc[WORKER_DESC_LEN] = { }; struct pool_workqueue *pwq = NULL;