From patchwork Tue Jul 28 17:11:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11689601 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E849314B7 for ; Tue, 28 Jul 2020 17:11:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AD0D42083B for ; Tue, 28 Jul 2020 17:11:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ofm5DMIz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD0D42083B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BE7A18D0002; Tue, 28 Jul 2020 13:11:17 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B98186B0023; Tue, 28 Jul 2020 13:11:17 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AB0958D0002; Tue, 28 Jul 2020 13:11:17 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0151.hostedemail.com [216.40.44.151]) by kanga.kvack.org (Postfix) with ESMTP id 975AC6B0022 for ; Tue, 28 Jul 2020 13:11:17 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 622908248047 for ; Tue, 28 Jul 2020 17:11:17 +0000 (UTC) X-FDA: 77088125394.29.act68_3f08ae626f6b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 9505118086E2F for ; Tue, 28 Jul 2020 17:11:16 +0000 (UTC) X-Spam-Summary: 1,0,0,4010a5333a9bbab9,d41d8cd98f00b204,krzk@kernel.org,,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3867:3871:3872:4321:4605:5007:6261:6653:8568:10004:11026:11658:11914:12043:12048:12114:12296:12297:12438:12517:12519:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14721:21080:21433:21451:21627:21990:30029:30054,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-64.100.201.201 62.2.0.100;04ygdedswig171wni46ef78dg79dsoptoxirxdj9prcdasctd9fp396si8nfcs7.bfzez8btobor1mkey3frjhf5sdiqcurb11f9p36qz76z6xa11oxapmab3s8nigk.6-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: act68_3f08ae626f6b X-Filterd-Recvd-Size: 2378 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Tue, 28 Jul 2020 17:11:16 +0000 (UTC) Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B599E20792; Tue, 28 Jul 2020 17:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595956275; bh=MR8mg3/IJgrM9SZbw474ePJSLyQfESFHDMAInBpWuhE=; h=From:To:Cc:Subject:Date:From; b=Ofm5DMIzcN6j+Cha4R0mw1pUbT1n3f9mVPYx0hue/a0Ot7cJk5nom/ged2M7RNngu ZWQ0yxelrt+kwWo/XbT9oZ71iwKI2chnFMsQhSDAnsPwuklcCGKR9KShwFDMpb3or/ oI2ba8c7N3TQHJk86dU7tzg9SueKWVovgPRdtI+s= From: Krzysztof Kozlowski To: Alexander Viro , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/4] anon_inodes: Make _anon_inode_getfile() static Date: Tue, 28 Jul 2020 19:11:06 +0200 Message-Id: <20200728171109.28687-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 X-Rspamd-Queue-Id: 9505118086E2F X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: _anon_inode_getfile() function is not used outside so make it static to fix W=1 warning: fs/anon_inodes.c:80:14: warning: no previous prototype for '_anon_inode_getfile' [-Wmissing-prototypes] 80 | struct file *_anon_inode_getfile(const char *name, Signed-off-by: Krzysztof Kozlowski --- fs/anon_inodes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 25d92c64411e..90b022960027 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c @@ -77,11 +77,11 @@ static struct inode *anon_inode_make_secure_inode( return inode; } -struct file *_anon_inode_getfile(const char *name, - const struct file_operations *fops, - void *priv, int flags, - const struct inode *context_inode, - bool secure) +static struct file *_anon_inode_getfile(const char *name, + const struct file_operations *fops, + void *priv, int flags, + const struct inode *context_inode, + bool secure) { struct inode *inode; struct file *file; From patchwork Tue Jul 28 17:11:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11689607 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 35C8314B7 for ; Tue, 28 Jul 2020 17:11:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 02F6921D95 for ; Tue, 28 Jul 2020 17:11:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jA5G6/nO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02F6921D95 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E5B636B0022; Tue, 28 Jul 2020 13:11:18 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E33BA8D0003; Tue, 28 Jul 2020 13:11:18 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CAE986B0025; Tue, 28 Jul 2020 13:11:18 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id AE9516B0022 for ; Tue, 28 Jul 2020 13:11:18 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 6D01D180AD801 for ; Tue, 28 Jul 2020 17:11:18 +0000 (UTC) X-FDA: 77088125436.20.blow32_050949626f6b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin20.hostedemail.com (Postfix) with ESMTP id 37710180C07AB for ; Tue, 28 Jul 2020 17:11:18 +0000 (UTC) X-Spam-Summary: 1,0,0,c6b73409eff9cd38,d41d8cd98f00b204,krzk@kernel.org,,RULES_HIT:41:355:379:541:800:960:973:982:988:989:1260:1345:1359:1437:1534:1540:1711:1730:1747:1777:1792:2393:2559:2562:2892:3138:3139:3140:3141:3142:3352:3866:3870:4321:5007:6261:6653:7875:10004:11026:11658:11914:12048:12114:12296:12297:12517:12519:12555:12895:13069:13311:13357:14096:14181:14384:14394:14721:21080:21451:21627:21972:30054:30075,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-64.100.201.201 62.2.0.100;04yrqx3gz71g74d64xbsgj1zn6uxbycx5dwkj7gd3y1nn8cue531z65wzk9n7yh.u8cumzq4wbzd81hopmqckapxd4mhpgd53h9zqgndtkgw39whobpqu8jc7c3p4p5.1-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: blow32_050949626f6b X-Filterd-Recvd-Size: 2261 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf24.hostedemail.com (Postfix) with ESMTP for ; Tue, 28 Jul 2020 17:11:17 +0000 (UTC) Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9053320825; Tue, 28 Jul 2020 17:11:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595956277; bh=xmaCUO7w5bqGCiLrpTvKhPLilEJbllIwuDFeA8NymgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jA5G6/nO/8dGBaSvYbruAtnBFneMRAQUHzq+O7pfnNG3/7UjAgII1kSLRBoefe2p8 D6RX4+XjPlVScObPbFGn9HGSK/C6Uj0tfc7UfYw5njmvPoI1nTejF0VYHCPZ+QMIDJ 8t+pS2Vt5lKWx7imCan382QlJlsmI70q2GMOcI4c= From: Krzysztof Kozlowski To: Alexander Viro , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] mm: swap: Fix kerneldoc of swap_vma_readahead() Date: Tue, 28 Jul 2020 19:11:07 +0200 Message-Id: <20200728171109.28687-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200728171109.28687-1-krzk@kernel.org> References: <20200728171109.28687-1-krzk@kernel.org> X-Rspamd-Queue-Id: 37710180C07AB X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Fix W=1 compile warnings (invalid kerneldoc): mm/swap_state.c:742: warning: Function parameter or member 'fentry' not described in 'swap_vma_readahead' mm/swap_state.c:742: warning: Excess function parameter 'entry' description in 'swap_vma_readahead' Signed-off-by: Krzysztof Kozlowski --- mm/swap_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/swap_state.c b/mm/swap_state.c index 66e750f361ed..d034dbf9d0d5 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -725,7 +725,7 @@ static void swap_ra_info(struct vm_fault *vmf, /** * swap_vma_readahead - swap in pages in hope we need them soon - * @entry: swap entry of this memory + * @fentry: swap entry of this memory * @gfp_mask: memory allocation flags * @vmf: fault information * From patchwork Tue Jul 28 17:11:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11689609 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7014313B1 for ; Tue, 28 Jul 2020 17:11:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3D3DA2083E for ; Tue, 28 Jul 2020 17:11:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="V8sgHnkm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D3DA2083E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D4B4E8D0005; Tue, 28 Jul 2020 13:11:20 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id CD5EB8D0003; Tue, 28 Jul 2020 13:11:20 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C14FE8D0005; Tue, 28 Jul 2020 13:11:20 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0156.hostedemail.com [216.40.44.156]) by kanga.kvack.org (Postfix) with ESMTP id A08548D0003 for ; Tue, 28 Jul 2020 13:11:20 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 56B0D181AC9B6 for ; Tue, 28 Jul 2020 17:11:20 +0000 (UTC) X-FDA: 77088125520.20.skate58_330b7b526f6b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin20.hostedemail.com (Postfix) with ESMTP id 1D754180C07AF for ; Tue, 28 Jul 2020 17:11:20 +0000 (UTC) X-Spam-Summary: 1,0,0,7f498ebec458df27,d41d8cd98f00b204,krzk@kernel.org,,RULES_HIT:41:355:379:541:800:960:973:982:988:989:1260:1345:1359:1437:1534:1540:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:2741:3138:3139:3140:3141:3142:3352:3865:3867:3870:3871:4321:5007:6261:6653:7875:7903:10004:11026:11658:11914:12043:12048:12114:12297:12438:12517:12519:12555:12895:12986:13069:13311:13357:14181:14384:14394:14721:21080:21251:21324:21451:21627:21972:30054:30080,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-64.100.201.201 62.2.0.100;04yfn1gwoes6ep8n1t56ahjhhba4joc6m3kzouc6wsk6eg1mf9wu9t4swsb5xn1.ycqkxh9eu8hyzuqgo77apwxyi5xoyh9w9h18iq837fb5gw4nmhxyhkrpp3dh8hm.o-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: skate58_330b7b526f6b X-Filterd-Recvd-Size: 2280 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf07.hostedemail.com (Postfix) with ESMTP for ; Tue, 28 Jul 2020 17:11:19 +0000 (UTC) Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 710DD20829; Tue, 28 Jul 2020 17:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595956278; bh=IoeFFZHY5ykUCVRt5xB8qAKcgJTbvlo0eD39HYG2lJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V8sgHnkmWMNwd59YfpAg1lIWXL6UdRiqQ/YVg2SIew4s0FVHYb8EwBjM32Us90LuC AUm7+dY65bX/GpFllt1Wb9RfMayb+VA+6spzj5e1vK7pPss+SKC2veZNZt7yjwa0NP /1Mwt9l5EQazIp/58D9zxt+sRvABosVvxnbwVyOQ= From: Krzysztof Kozlowski To: Alexander Viro , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] mm: mempolicy: Fix kerneldoc of numa_map_to_online_node() Date: Tue, 28 Jul 2020 19:11:08 +0200 Message-Id: <20200728171109.28687-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200728171109.28687-1-krzk@kernel.org> References: <20200728171109.28687-1-krzk@kernel.org> X-Rspamd-Queue-Id: 1D754180C07AF X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Fix W=1 compile warnings (invalid kerneldoc): mm/mempolicy.c:137: warning: Function parameter or member 'node' not described in 'numa_map_to_online_node' mm/mempolicy.c:137: warning: Excess function parameter 'nid' description in 'numa_map_to_online_node' Signed-off-by: Krzysztof Kozlowski --- mm/mempolicy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 93fcfc1f2fa2..9894bb2f7452 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -129,7 +129,7 @@ static struct mempolicy preferred_node_policy[MAX_NUMNODES]; /** * numa_map_to_online_node - Find closest online node - * @nid: Node id to start the search + * @node: Node id to start the search * * Lookup the next closest node by distance if @nid is not online. */ From patchwork Tue Jul 28 17:11:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11689613 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0F6F138C for ; Tue, 28 Jul 2020 17:11:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 74D6E20792 for ; Tue, 28 Jul 2020 17:11:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xnu1j6Gq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74D6E20792 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E0B6A8D0009; Tue, 28 Jul 2020 13:11:22 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id DE5AC8D0003; Tue, 28 Jul 2020 13:11:22 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF8B38D0009; Tue, 28 Jul 2020 13:11:22 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0116.hostedemail.com [216.40.44.116]) by kanga.kvack.org (Postfix) with ESMTP id B76958D0003 for ; Tue, 28 Jul 2020 13:11:22 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 74F0A180AD802 for ; Tue, 28 Jul 2020 17:11:22 +0000 (UTC) X-FDA: 77088125604.20.pail74_5610dab26f6b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin20.hostedemail.com (Postfix) with ESMTP id 407BA180C07AB for ; Tue, 28 Jul 2020 17:11:22 +0000 (UTC) X-Spam-Summary: 1,0,0,81e1b09b902b2354,d41d8cd98f00b204,krzk@kernel.org,,RULES_HIT:41:355:379:541:800:960:966:973:982:988:989:1260:1345:1359:1437:1534:1542:1711:1730:1747:1777:1792:1801:2196:2198:2199:2200:2393:2559:2562:2693:3138:3139:3140:3141:3142:3354:3865:3866:3867:3870:3871:3872:4250:4321:4385:4605:5007:6261:6653:7875:7903:10004:11026:11473:11658:11914:12043:12048:12296:12297:12438:12517:12519:12555:12895:13972:14096:14181:14394:14721:21080:21451:21627:21789:21972:21987:21990:30003:30054,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-62.2.0.100 64.100.201.201;04yfasj5rgaekc9hmt4qyfe1596m6ychz153wci3df9aqgo1md8h9o4hzhtr8wf.zco8w13us6crxxd6eo8xx6j9xjc1okr4zpxgsbmobgm41msia59yrjwscbwdagc.s-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: pail74_5610dab26f6b X-Filterd-Recvd-Size: 4137 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Tue, 28 Jul 2020 17:11:21 +0000 (UTC) Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58B29207F5; Tue, 28 Jul 2020 17:11:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595956280; bh=Wtdd2aggXUG2SrwcZacfye57yI4AkP3hAjgBPEBSse4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xnu1j6Gqw6ndNDJkvhznFHT9epfk5i65xB7LnGD8Lf4mZGStFxEIgnCnu/H1n0nGt 8LTO4ZU5CG6vltPbiI5QrlJIhEh/KCIjQF7ww16WG1nM3qNn3bPlQHZINPV06xJ7Xm UJQUcrsS6VVxK3TV0xMs320uW7K4fybWda/rYQVU= From: Krzysztof Kozlowski To: Alexander Viro , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] mm: mmu_notifier: Fix and extend kerneldoc Date: Tue, 28 Jul 2020 19:11:09 +0200 Message-Id: <20200728171109.28687-4-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200728171109.28687-1-krzk@kernel.org> References: <20200728171109.28687-1-krzk@kernel.org> X-Rspamd-Queue-Id: 407BA180C07AB X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Fix W=1 compile warnings (invalid kerneldoc): mm/mmu_notifier.c:187: warning: Function parameter or member 'interval_sub' not described in 'mmu_interval_read_bgin' mm/mmu_notifier.c:708: warning: Function parameter or member 'subscription' not described in 'mmu_notifier_registr' mm/mmu_notifier.c:708: warning: Excess function parameter 'mn' description in 'mmu_notifier_register' mm/mmu_notifier.c:880: warning: Function parameter or member 'subscription' not described in 'mmu_notifier_put' mm/mmu_notifier.c:880: warning: Excess function parameter 'mn' description in 'mmu_notifier_put' mm/mmu_notifier.c:982: warning: Function parameter or member 'ops' not described in 'mmu_interval_notifier_insert' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Jason Gunthorpe --- mm/mmu_notifier.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c index 352bb9f3ecc0..4fc918163dd3 100644 --- a/mm/mmu_notifier.c +++ b/mm/mmu_notifier.c @@ -166,7 +166,7 @@ static void mn_itree_inv_end(struct mmu_notifier_subscriptions *subscriptions) /** * mmu_interval_read_begin - Begin a read side critical section against a VA * range - * interval_sub: The interval subscription + * @interval_sub: The interval subscription * * mmu_iterval_read_begin()/mmu_iterval_read_retry() implement a * collision-retry scheme similar to seqcount for the VA range under @@ -686,7 +686,7 @@ EXPORT_SYMBOL_GPL(__mmu_notifier_register); /** * mmu_notifier_register - Register a notifier on a mm - * @mn: The notifier to attach + * @subscription: The notifier to attach * @mm: The mm to attach the notifier to * * Must not hold mmap_lock nor any other VM related lock when calling @@ -856,7 +856,7 @@ static void mmu_notifier_free_rcu(struct rcu_head *rcu) /** * mmu_notifier_put - Release the reference on the notifier - * @mn: The notifier to act on + * @subscription: The notifier to act on * * This function must be paired with each mmu_notifier_get(), it releases the * reference obtained by the get. If this is the last reference then process @@ -965,7 +965,8 @@ static int __mmu_interval_notifier_insert( * @interval_sub: Interval subscription to register * @start: Starting virtual address to monitor * @length: Length of the range to monitor - * @mm : mm_struct to attach to + * @mm: mm_struct to attach to + * @ops: Interval notifier operations to be called on matching events * * This function subscribes the interval notifier for notifications from the * mm. Upon return the ops related to mmu_interval_notifier will be called