Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1683382pxj; Fri, 4 Jun 2021 23:35:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtrBZZyBBtNBMd7dIpmOY1RHsNyywNfqdcQCt8yeP2kA0wWu8SwIzMBF9qVrckKIJneie8 X-Received: by 2002:a17:906:b74a:: with SMTP id fx10mr7817234ejb.248.1622874901529; Fri, 04 Jun 2021 23:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622874901; cv=none; d=google.com; s=arc-20160816; b=DRaVMAYzWJOY6qu/kvmpPFvBFNr0q0KyirWg3XaL06/MTaBj8MI6ITQOJGS+VaORoR UqHQjVvT1MKqfvfUNptqKCulXgslWe2Ux3ezOeerhoCYSFSniNbHEfv2zgusb5WtEwwT dKCwvvGi9Tdrr7mQiB+NFkYpyGVJ3ucDc21Ilf/bejzp0VLocKcCZ0M01OoNs+LAGVmW OXOAI/TwDdS0aYihAcQDkf4UQRgxdFN384Ei35AG0i7ubKY9GG1z6Mtu/qm0kMnHfjtk 0iIOY/qDf+ycsI/Xk9n8B3pjf9ccjudIEdCbWAgSvntW6fPpmkQ3eiXdzGz+AcNaGczn Gthg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/n143uUmj5DBbLfG42+REdBrFvq4hfBSQFBxvv294IA=; b=G5Y7l4NvvDnvIRcJ9o1RJpsxPwA6J8kA7ZGzcbaqPcgSoS6DRpFh1jvccYkiUc0NLA H72TU1LM0gifSERCPOYljRo8tcyUChtJHiLcOKHGEz1B0NodyAP3bu7ssWs/1GWlhgft 5LMKPclX09ujiorfbg2w7xk52TD2e4uYDeBq2IkPC/9Z3n3TbmJBp9BTKElQlOyVE/Sl +oLrQzG+pUqcQZ0OulEh+9cALCBadTrkdj0XlWGLIjspVVBlRbVKjv9Zjg+0+0HIMvAQ 46OrmiMI94Tl34/7PrJkqFOGvTWmoFPjGlOiEzMAqVM0VnXMZC6MCt5/p4w7OBQwbMU3 SBNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dy16si6250243edb.130.2021.06.04.23.34.38; Fri, 04 Jun 2021 23:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbhFEGeY (ORCPT + 99 others); Sat, 5 Jun 2021 02:34:24 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:4480 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbhFEGeY (ORCPT ); Sat, 5 Jun 2021 02:34:24 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4FxqVg4LhwzZcjD; Sat, 5 Jun 2021 14:29:47 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 5 Jun 2021 14:32:34 +0800 Received: from huawei.com (10.175.127.227) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 5 Jun 2021 14:32:33 +0800 From: Baokun Li To: , , , , , , CC: , , , , Subject: [PATCH -next] task_work: fix doc warnings in task_work.c Date: Sat, 5 Jun 2021 14:41:47 +0800 Message-ID: <20210605064147.690390-1-libaokun1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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