linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] workqueue: fix annotation for WQ_SYSFS
@ 2021-01-18  8:04 menglong8.dong
  2021-01-19  2:08 ` Lai Jiangshan
  2021-01-19 15:21 ` Tejun Heo
  0 siblings, 2 replies; 3+ messages in thread
From: menglong8.dong @ 2021-01-18  8:04 UTC (permalink / raw)
  To: tj; +Cc: jiangshanlai, linux-kernel, Menglong Dong

From: Menglong Dong <dong.menglong@zte.com.cn>

'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>
---
 include/linux/workqueue.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 26de0cae2a0a..d15a7730ee18 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] workqueue: fix annotation for WQ_SYSFS
  2021-01-18  8:04 [PATCH] workqueue: fix annotation for WQ_SYSFS menglong8.dong
@ 2021-01-19  2:08 ` Lai Jiangshan
  2021-01-19 15:21 ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Lai Jiangshan @ 2021-01-19  2:08 UTC (permalink / raw)
  To: menglong8.dong; +Cc: Tejun Heo, LKML, Menglong Dong

On Mon, Jan 18, 2021 at 4:05 PM <menglong8.dong@gmail.com> wrote:
>
> From: Menglong Dong <dong.menglong@zte.com.cn>
>
> '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>

> ---
>  include/linux/workqueue.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
> index 26de0cae2a0a..d15a7730ee18 100644
> --- a/include/linux/workqueue.h
> +++ b/include/linux/workqueue.h
> @@ -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
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] workqueue: fix annotation for WQ_SYSFS
  2021-01-18  8:04 [PATCH] workqueue: fix annotation for WQ_SYSFS menglong8.dong
  2021-01-19  2:08 ` Lai Jiangshan
@ 2021-01-19 15:21 ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2021-01-19 15:21 UTC (permalink / raw)
  To: menglong8.dong; +Cc: jiangshanlai, linux-kernel, Menglong Dong

On Mon, Jan 18, 2021 at 12:04:55AM -0800, menglong8.dong@gmail.com wrote:
> From: Menglong Dong <dong.menglong@zte.com.cn>
> 
> '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>

Applied to wq/for-5.12.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-19 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18  8:04 [PATCH] workqueue: fix annotation for WQ_SYSFS menglong8.dong
2021-01-19  2:08 ` Lai Jiangshan
2021-01-19 15:21 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).