Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3787793iog; Tue, 28 Jun 2022 02:48:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQbCNRdjiAgSvkDO4cDP3M9hIvxZhDfGyb5EC5HCFkXLII/8cR/DNLwZpEj5yQl4+P26DI X-Received: by 2002:a17:90a:a404:b0:1ee:e545:288b with SMTP id y4-20020a17090aa40400b001eee545288bmr8891791pjp.142.1656409724576; Tue, 28 Jun 2022 02:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656409724; cv=none; d=google.com; s=arc-20160816; b=hjkLNH6IjwrrBwMnMzoxcRuQum2lRzYctdvX0LnFotSwRay72muX+mthe/j+JyZY7C P4ZhxMwCLVxH+YK4SNEEUjLCJ4+fpn0SROwvnTgZn3EEcvDE6Fe+RzxvZ2Z54wPqjJf8 L08ruAMPfX6sfRsbvzzsYfY4mvnocYBXnX8VBDZ6TWNtAsjg7rAwoXuqTXJiZQr//oOD bsBKPh7I3p6pqrY/Bc9Ce6Zuv25uOBkcfAXpdE5t9PN54qezVVAEInrZsjkJ0BoyP/m8 x4m8yYpqQUJW8KP/4LeF+aYG+HhinD/NddlcZ9zjmVRz+/39770iJI9HypLraYXCvrgQ BhIw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pGNlz3MmjS4xv/eu0pCgdmQNzHfCJWKvLNKtv5rWaxc=; b=lX33WPkRG91AKbTCfP6J7AbSfGOGkbGjIbU+iOLzecgzkXItLjr9+EtLFoo8T4D904 NytlrXW7Anv2WgH3GQYHQiKzysZBAxyk4fnV9illCbn2gUactqZUO4ROpUulHp3PC3i6 1P9f6IYYRffIM2FwT7srS1c0PljyvQ/AW9lAhdyiScapVAl0PQrkjCaqHkhQ6kRsrvfS x+L9Y1WwJDjMrdfY0ww8nXDERacbiSZqOh/3VnLIGYOj36Vmwy7uyqdxpi7KXdVvRnoL Yw2+X0YVtRFdX1OamXxkV+hLdHPdzxl8jJBdfk7659iqdvxr1ScWbOb5zK1kd7ECICvS W+HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Roh2K2uE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020a056a001ad300b0051beb7365b5si14531709pfv.355.2022.06.28.02.48.24; Tue, 28 Jun 2022 02:48:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Roh2K2uE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344398AbiF1JrI (ORCPT + 99 others); Tue, 28 Jun 2022 05:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242209AbiF1Jqf (ORCPT ); Tue, 28 Jun 2022 05:46:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED21225C5A; Tue, 28 Jun 2022 02:46:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7257BB81D8E; Tue, 28 Jun 2022 09:46:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BAC3C3411D; Tue, 28 Jun 2022 09:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656409590; bh=sTi4x9ZoZpkbQr4+xjPIIlVa/suTKm/0lLP05XVf1f8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Roh2K2uEouhV7ax8h2Vhchn+12/YTfUUS2F/Uz48hFp0Tr1yfOXCYbtIMoY+R2VbR hc6oX+g3EgDon6XPqm8DKQFGi1kn0bfZcEMkv4iSGTu71abraXin7rwX+hprHq8sQF TO6rLghyUh0UGj6iXohFEdC0Bjc0z/DmawhKH1jHN4EROLOWbatoJejD236ecrWvEV PjN2wCmDgMal/iycvRUWV1H4x9nDj4Jy2HKBl8jZTGQb4vyrZhfMlUdVY/6kPpMOSK RAClAg2j9sYe1JOdj6hdnZtvLDw0oxrGEWxC7A3kAYk9NndT+TmlDAk5nCM31wLLrM iooErJJYiRWQg== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1o67nf-005HF1-Nz; Tue, 28 Jun 2022 10:46:27 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Mauro Carvalho Chehab" , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/22] fs: attr: update vfs uid/gid parameters at kernel-doc Date: Tue, 28 Jun 2022 10:46:10 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vfs uid/gid parameters have a different name at the function prototype causing kernel-doc warnings. Update them for the parameters to match, fixing those warnings: fs/attr.c:36: warning: Function parameter or member 'ia_vfsuid' not described in 'chown_ok' fs/attr.c:36: warning: Excess function parameter 'uid' description in 'chown_ok' fs/attr.c:63: warning: Function parameter or member 'ia_vfsgid' not described in 'chgrp_ok' fs/attr.c:63: warning: Excess function parameter 'gid' description in 'chgrp_ok' Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/22] at: https://lore.kernel.org/all/cover.1656409369.git.mchehab@kernel.org/ fs/attr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/attr.c b/fs/attr.c index 1ba7ddef537f..b5b8835ddf15 100644 --- a/fs/attr.c +++ b/fs/attr.c @@ -22,7 +22,7 @@ * chown_ok - verify permissions to chown inode * @mnt_userns: user namespace of the mount @inode was found from * @inode: inode to check permissions on - * @uid: uid to chown @inode to + * @ia_vfsuid: uid to chown @inode to * * If the inode has been found through an idmapped mount the user namespace of * the vfsmount must be passed through @mnt_userns. This function will then @@ -49,7 +49,7 @@ static bool chown_ok(struct user_namespace *mnt_userns, * chgrp_ok - verify permissions to chgrp inode * @mnt_userns: user namespace of the mount @inode was found from * @inode: inode to check permissions on - * @gid: gid to chown @inode to + * @ia_vfsgid: gid to chown @inode to * * If the inode has been found through an idmapped mount the user namespace of * the vfsmount must be passed through @mnt_userns. This function will then -- 2.36.1