lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 19 Jan 2021 10:08:28 +0800
From:   Lai Jiangshan <jiangshanlai@...il.com>
To:     menglong8.dong@...il.com
Cc:     Tejun Heo <tj@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
        Menglong Dong <dong.menglong@....com.cn>
Subject: Re: [PATCH] workqueue: fix annotation for WQ_SYSFS

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

Reviewed-by: Lai Jiangshan <jiangshanlai@...il.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
>

Powered by blists - more mailing lists