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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210605064147.690390-1-libaokun1@huawei.com>
Date:   Sat, 5 Jun 2021 14:41:47 +0800
From:   Baokun Li <libaokun1@...wei.com>
To:     <axboe@...nel.dk>, <oleg@...hat.com>, <tglx@...utronix.de>,
        <dvyukov@...gle.com>, <akpm@...ux-foundation.org>,
        <walter-zh.wu@...iatek.com>, <linux-kernel@...r.kernel.org>
CC:     <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
        <yangjihong1@...wei.com>, <yukuai3@...wei.com>,
        <libaokun1@...wei.com>
Subject: [PATCH -next] task_work: fix doc warnings in task_work.c

Add description for `task_work_cancel_match` to fix the W=1 warnings:

kernel/task_work.c:76: warning: Function parameter or
 member 'data' not described in 'task_work_cancel_match'

Signed-off-by: Baokun Li <libaokun1@...wei.com>
---
 kernel/task_work.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/task_work.c b/kernel/task_work.c
index 1698fbe6f0e1..3992ebaabde5 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -65,7 +65,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,
  * task_work_cancel_match - cancel a pending work added by task_work_add()
  * @task: the task which should execute the work
  * @match: match function to call
- *
+ * @data: data to match
  * RETURNS:
  * The found work or NULL if not found.
  */
-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ