Skip to content

Commit

Permalink
workqueue: fix annotation for WQ_SYSFS
Browse files Browse the repository at this point in the history
'wq_sysfs_register()' in annotation for 'WQ_SYSFS' is unavailable,
change it to 'workqueue_sysfs_register()'.

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Menglong Dong authored and Tejun Heo committed Jan 19, 2021
1 parent 1e2a199 commit 93e8629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/workqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ enum {
WQ_MEM_RECLAIM = 1 << 3, /* may be used for memory reclaim */
WQ_HIGHPRI = 1 << 4, /* high priority */
WQ_CPU_INTENSIVE = 1 << 5, /* cpu intensive workqueue */
WQ_SYSFS = 1 << 6, /* visible in sysfs, see wq_sysfs_register() */
WQ_SYSFS = 1 << 6, /* visible in sysfs, see workqueue_sysfs_register() */

/*
* Per-cpu workqueues are generally preferred because they tend to
Expand Down

0 comments on commit 93e8629

Please sign in to comment.